Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COBOL - USE WITH DEBUGGING option

Status
Not open for further replies.

jkpalmer52

IS-IT--Management
Dec 12, 2002
3
US
I'm attempting to use the feature for IBM-370 USE WITH DEBUGGGING feature where:

if you include:
SOURCE-COMPUTER. IBM-370 USE WITH DEBUGGING.
in the environment and code any statement in your PROCEDURE DIVISION with a 'D' in column 7 , those statements will only be executed if you include the DEBUG parameter on your EXEC statement in your JCL. If you DON'T invoke the DEBUG option, then those statements with a 'D' in column 7 should not be executed. This feature is supposed to eliminate the need to re-compile your program if you want to turn your "debugging trace" on or off.

I can't seem to turn OFF the option. All statements with a 'D' execute no matter what.

Can't find the proper way to turn those statements "off".
 
Hi jkpalmer52,

My understanding is that the presence of the clause USE WITH DEBUGGING is what turns the debug lines on. You must remove it to turn the option off.

This means that you must compile the program in each case.

Dimandja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top