What is the use of 'D' on comment line?



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

What is the use of 'D' on comment line?

Postby ramesh4mainframes » Wed Jun 16, 2010 10:10 am

Hi,

I have a doubt, in comment line (7th line) we have to use 3 (/ * D) characters only. * and / for commenting purpose but what's use of D?
Thanks,
RamS
ramesh4mainframes
 
Posts: 32
Joined: Mon Jun 07, 2010 3:58 pm
Location: Hyderabad
Has thanked: 0 time
Been thanked: 0 time

Re: What is the use of 'D' on comment line?

Postby Robert Sample » Wed Jun 16, 2010 5:27 pm

D in column 7 is a debugging line. Depending upon the compile source, a debugging line can be compiled as a line of source code, or as a comment. This is explained quite well in the COBOL manuals.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post