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
 
To find out the chain of a program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
ossodue

New User


Joined: 29 Mar 2006
Posts: 4

PostPosted: Thu Apr 23, 2009 1:14 pm    Post subject: To find out the chain of a program
Reply with quote

I'd like to use z/os data areas to find out the chain of a program. I've read this topic but there's no answer for my problem.
I've tried with CDE data area but it seems to be wrong.

I think it could be possible because when a routine abends, the AbendAID returns the chain of program in the "Call Trace Summary" section.

Thank you.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Apr 23, 2009 1:18 pm    Post subject: Reply to: To find out the chain of a program
Reply with quote

search the cbttape ( www.cbttape.org ) for samples of control block chasing
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 23, 2009 5:03 pm    Post subject:
Reply with quote

Assuming that when you say "chain of a program" you're referring to the calling sequence, and assuming that all the routines are higher-level language or standard Assembler, the Save Area Trace gives the calling chain for programs. This works, however, only as long as standard calling sequence is used to set the forward and back pointers in the various save areas. I don't think the CDE has anything to do with it -- as long as the save areas are chained together properly, the sequence can be reconstructed without referencing anything else.
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 -> All Other Mainframe Topics 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 Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm

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