View previous topic :: View next topic
|
Author |
Message |
sourav_dasgupta
New User
Joined: 26 Dec 2007 Posts: 18 Location: Chennai, India
|
|
|
|
Hi all,
Ok let me first explain the problem I am facing.
I have multiple programs which are invoked by the main program.
The problem is the main program is an assembly program about which I have very less idea. How should I debug the called programs (written in Cobol)?
Ex. Program A is calling Program B, C, D and in turn program E, F are called from program D. Program A is an assembly. Now For some change I need to debug program E. How should I do that?
Please let me know if I need to provide any more details. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Did your company purchase the optional Assembler Source Code DDIO list, so you could set your breakpoints in the source?
If not, then you'll have to set your breakpoints based upon an address/offset in the Assembler program Assembly listing itself.
I know it's possible, because I used to do this many years ago, when the company did not have the optional Assembler Source XPED listing.
However, as soon as the COBOL sub-program's are invoked and they had been compiled with the XPED Listing option (DDIO), then you can then step through them.
Bill |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
One fairly easy thing to do would be to write a little COBOL "driver" program that did nothing other than call programE with whatever parameter data is needed. . . |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Dick,
Touché, didn't think of that....
Bill |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Bill,
'Twern't a joust - i'm just a rather simple fellow
d |
|
Back to top |
|
|
|