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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cobol Program Trace utility

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
HI

Is there any utility to Trace the Cobol Program Flow (some sort of analyzer without running the whole cobol program) ?

I thank you in advance
Raghu
 
Most COBOL Vendors provide some tool for this. Which COBOL are you using?
 
If you are on as400, there is an interactive source debugger included with os400. Or on mainframe there is software called ITB/BTS.
 
In some dialects of COBOL there is a Ready Trace command.

You turn it on by setting your Ready Trace on where you want the monitoring to begin, and Reset Trace where you want it to end.

The file ends up in a file (different places depending on your compiler/platform).

The trace will show you the names of the paragraphs that you have gone through... and is useful for debugging a program from a 'high' level.

Steve Millman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top