Page 1 of 1

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

PostPosted: Wed Jun 16, 2010 10:10 am
by ramesh4mainframes
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?

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

PostPosted: Wed Jun 16, 2010 5:27 pm
by Robert Sample
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.