i tried to compile the cobol program with debugging mode program executed successfully but the debugging option is not working. please guide me whether i need to give any compiler options or should i need to change the syntaxes.
//A999999A JOB COBOL,'SAMPLE ',
//STEP1 EXEC IGYWCLG,PARM='LIST'
//COBOL.SYSIN DD *
SOURCE-COMPUTER IBM-370 WITH DEBUGGING MODE.
01 X PIC X.
USE FOR DEBUGGING ON ALL PROCEDURES.
DISPLAY 'ENTERING... ' DEBUG-NAME.
DISPLAY 'THIS IS THE COBOL DEBUGGING PROGRAM'.
//GO.SYSOUT DD SYSOUT=*
Joined: 06 Jun 2008 Posts: 8490 Location: Dubuque, Iowa, USA
What, exactly, do you think the WITH DEBUGGING MODE phrase does?
There is a link to manuals at the top of the page. Click on it, find the COBOL Language Reference manual and read up on the phrase. I think you will find it does nothing like what you apparently believe it does.