naseems2000
Programmer
Hi! Mates,
Needed help!!
Have a look at this piece of code:
018400 ENVIRONMENT DIVISION.
018500 CONFIGURATION SECTION.
018600*SOURCE-COMPUTER. IBM-3390 WITH DEBUGGING MODE.
018700 SOURCE-COMPUTER. IBM-3390.
‘With Debugging mode’ is option for COBOL pre-compiler. When this option is specified the COBOL source statements having ‘D’ in the 7th column gets compiled into the source code and thus are executed when program is run. When this mode is not specified all these statements will be treated as comments and hence won’t be compiled. This option is very useful for debugging.
Could anyone help explaining me the above explanation for ‘With Debugging mode’ ? I have noticed that in most of the codes it is usually commented..Then why do we code it?
Also This is seen in Batch Programs and not in Online? Could anyone tell me why?
Waiting in anticipation !!
Chao, naseem
Needed help!!
Have a look at this piece of code:
018400 ENVIRONMENT DIVISION.
018500 CONFIGURATION SECTION.
018600*SOURCE-COMPUTER. IBM-3390 WITH DEBUGGING MODE.
018700 SOURCE-COMPUTER. IBM-3390.
‘With Debugging mode’ is option for COBOL pre-compiler. When this option is specified the COBOL source statements having ‘D’ in the 7th column gets compiled into the source code and thus are executed when program is run. When this mode is not specified all these statements will be treated as comments and hence won’t be compiled. This option is very useful for debugging.
Could anyone help explaining me the above explanation for ‘With Debugging mode’ ? I have noticed that in most of the codes it is usually commented..Then why do we code it?
Also This is seen in Batch Programs and not in Online? Could anyone tell me why?
Waiting in anticipation !!
Chao, naseem