Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 2502
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: 2502
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 IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us