Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to Xped a called program if the main program assembly!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: How to Xped a called program if the main program assembly!
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    Post subject: Reply to: How to Xped a called program if the main program a
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

Site Director


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

PostPosted: Tue Jul 27, 2010 9:04 pm    Post subject:
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    Post subject: Reply to: How to Xped a called program if the main program a
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

Site Director


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

PostPosted: Tue Jul 27, 2010 9:47 pm    Post subject: Reply to: How to Xped a called program if the main program a
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us