IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Xped a called program if the main program assembly!


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sourav_dasgupta

New User


Joined: 26 Dec 2007
Posts: 18
Location: Chennai, India

PostPosted: Tue Jul 27, 2010 7:48 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Tue Jul 27, 2010 8:20 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 27, 2010 9:04 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Tue Jul 27, 2010 9:22 pm
Reply with quote

Dick,

Touché, didn't think of that.... icon_redface.gif

Bill
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 27, 2010 9:47 pm
Reply with quote

Hi Bill,

'Twern't a joust - i'm just a rather simple fellow icon_wink.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts interactive cics program using CICS s... CICS 4
No new posts Compiler and run JCL for basic PL/I p... PL/I & Assembler 10
No new posts Getting TWA in CICS program while con... CICS 12
No new posts COBOL Program to search for five digi... COBOL Programming 4
No new posts Assembler: Set Program Mask for decim... PL/I & Assembler 4
Search our Forums:

Back to Top