how to debug a program without using ibm debug tools



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

how to debug a program without using ibm debug tools

Postby pradeepgowda » Mon Jan 04, 2010 5:45 pm

hi,

How to debug the program without using debugging tools(ie without using xpeditor,tracemaster..)
pradeepgowda
 
Posts: 40
Joined: Mon Jan 04, 2010 4:17 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to debug a program without using ibm debug tools

 

Re: how to debug a program without using ibm debug tools

Postby Bill Dennis » Mon Jan 04, 2010 7:49 pm

Do you have an ABEND dump or just tracing the flow?

One method for tracing the flow is to use DISPLAY at certain points to show the path taken and field values at those points.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to debug a program without using ibm debug tools

Postby Anuj Dhawan » Tue Jan 05, 2010 6:28 pm

I used to do something similar what Bill has said. In intial years, I used to add DISPLAY for each para-name to understand the flow of the program...
Anuj
Anuj Dhawan
 
Posts: 274
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post