IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What does D in Column 7 mean


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Doubts_ask

New User


Joined: 04 Oct 2005
Posts: 9

PostPosted: Tue Oct 04, 2005 5:18 pm
Reply with quote

What does D in Column 7 mean? It is a valid character. It does not give Compilation error.
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Tue Oct 04, 2005 7:08 pm
Reply with quote

Hi,
"D" in column 7 represents that it's a debugging line.If WITH DEBUGGING MODE clause is specified in SOURCE_COMPUTER paragraph then "D" can be used anywhere after OBJECT_COMPUTER paragraph. Each time the program is compiled,the value of identifiers in the debugging lines are printed.
Regards,
Sridevi.
Back to top
View user's profile Send private message
km_abdullah

New User


Joined: 03 Nov 2008
Posts: 60

PostPosted: Fri Dec 12, 2008 10:14 am
Reply with quote

Hi Sridevi,

In SOURCE-COMPUTER of Configuration-Section, what is the computer name should we use? How can one identify the name of computer being used to access mainframe system?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Dec 12, 2008 10:55 am
Reply with quote

Hello and welcome to the forum,

Quote:
what is the computer name should we use

Try this: IBM-zSeries

You might also ask your system support people if there is some standard in place that you should follow.

At the top of the page is an "IBM Manual" link. Suggest you become both familiar and comfortable with the manuals. Here's the link to the table of contents for the Enterpriser Cobol Language Reference:
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/igy3lr10/CONTENTS?

Good luck - someone will be here when there are questions icon_smile.gif
Back to top
View user's profile Send private message
km_abdullah

New User


Joined: 03 Nov 2008
Posts: 60

PostPosted: Fri Dec 12, 2008 11:27 am
Reply with quote

Thank you for welcoming.
I tried the same and it worked. Thanks again..

Overwhelmed by the response.. Hope to benefit more from this wonderful forum.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Dec 12, 2008 11:37 am
Reply with quote

You're welcome icon_smile.gif

When you have questions, someone will be here.

Good luck and we hope you find the forum useful.

d
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Dec 12, 2008 12:43 pm
Reply with quote

Hi,
Quote:
what is the computer name should we use
If 'am not sure, I usually look at other Source Programs available at my shop for this purpose.

By the way, this question is quite different then the thread topic & is been replied to 3 years old post.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Sat Dec 13, 2008 1:22 am
Reply with quote

I like to use the actual name provided by TSO ISPVCALL STATUS but I've found that any name will suffice as long as it's not a COBOL resevered word or doesn't have embedded blanks in it. My current CPU is a "2096" so I've been using IBM-2096. DOUBTS-ASK would probably be an allowable name. icon_smile.gif
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Sun Dec 14, 2008 10:13 pm
Reply with quote

Sridevi_C wrote:
Each time the program is compiled,the value of identifiers in the debugging lines are printed.

That's not correct...

When you have WITH DEBUGGING MODE then the "D" is considered as a space and the lines are part of the compile.
When you don't have WITH DEBUGGING MODE, the "D" is considered as a "*" and the lines are ignored as if they were comments.

This allows you to have a lot of displays (for example) when you test your program,
and to easily remove them all (just remove the WITH DEBUGGING MODE) before moving to prod.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Dec 15, 2008 1:27 am
Reply with quote

Good catch, Marso. One point that needs to be very clear -- the program must be a valid program with or without the debug lines. If the program has conflicts (for example, a variable is defined on a line with a D in column 7 but that variable is displayed on a line without a D in column 7) the compiler doesn't like it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts How to load to DB2 with column level ... DB2 6
No new posts RC query -Time column CA Products 3
No new posts first column truncated in search result IBM Tools 13
No new posts Split a record with data in a differe... DFSORT/ICETOOL 8
Search our Forums:

Back to Top