View previous topic :: View next topic
|
Author |
Message |
ossodue
New User
Joined: 29 Mar 2006 Posts: 4
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|