View previous topic :: View next topic
|
Author |
Message |
Doubts_ask
New User
Joined: 04 Oct 2005 Posts: 9
|
|
|
|
What does D in Column 7 mean? It is a valid character. It does not give Compilation error. |
|
Back to top |
|
|
Sridevi_C
Active User
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
|
|
|
|
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 |
|
|
km_abdullah
New User
Joined: 03 Nov 2008 Posts: 60
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
Back to top |
|
|
km_abdullah
New User
Joined: 03 Nov 2008 Posts: 60
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome
When you have questions, someone will be here.
Good luck and we hope you find the forum useful.
d |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
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. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|