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: 2501
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: 2501
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 Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top