View previous topic :: View next topic
|
Author |
Message |
ratn006
New User
Joined: 28 Apr 2006 Posts: 14
|
|
|
|
Hi All,
Do i need to use some other options also while debuging a simple cobol program which has a static call to a sub program?
I have compiled the subprogam first thn the main program by taking the intertest option in changeman.The sysprint shows that both main program and the subproram are working fine.But while debugging Intertest doent took me in the subprogram while its working fine for the mainprogram.
In Main program I am reading a file and the same values I am displaying into the subprogram which are geting reflected into the sysprint.
Let me know incase any more information is needed. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Are you setting up break points in subprogram ? |
|
Back to top |
|
|
ratn006
New User
Joined: 28 Apr 2006 Posts: 14
|
|
|
|
Dear Devzee,
I am not setting up any breakpoints in my Main calling program.As I have just designed my input file with three records.The execution is straight forward step by step.Please suggest the way which would take me into the subprogram also.Let me know incase any more information is required,thanks |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Are you testing Batch?
I used Intertest for Online CICS cobol program debugging. |
|
Back to top |
|
|
ratn006
New User
Joined: 28 Apr 2006 Posts: 14
|
|
|
|
Dear Devzee,
I am debugging my cobol program in Batch.For standalone program its working fine.But if I am calling a subprogram then during debug session the Intertest is not taking me into the subprogram although subprogram is getting executed and the results I am geting in sysprint.
let me know if i need to provide any more information,thanks |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
ratn006,
have you tried using PF1 - HELP - while in Intertest? All debuggers have a method of accessing the source code and setting breakpoints, watchpoints, etc. during your session. You need to become more conversant with your tools. Reading the documentation (at least go thru the PF1 Help that is provided) is a better way for you to understand how the tool works and what options are available to you.
this you could have done in the 2 days you have been waiting for an answer. |
|
Back to top |
|
|
|