Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What does D in Column 7 mean

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: What does D in Column 7 mean
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    Post subject:
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    Post subject: What does D in Column 7 mean
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

Site Director


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

PostPosted: Fri Dec 12, 2008 10:55 am    Post subject:
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:
http://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    Post subject: What does D in Column 7 mean
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

Site Director


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

PostPosted: Fri Dec 12, 2008 11:37 am    Post subject: Reply to: What does D in Column 7 mean
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

Senior Member


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

PostPosted: Fri Dec 12, 2008 12:43 pm    Post subject:
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    Post subject:
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: 1243
Location: Israel

PostPosted: Sun Dec 14, 2008 10:13 pm    Post subject:
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Mon Dec 15, 2008 1:27 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us