View previous topic :: View next topic
|
Author |
Message |
nbalajibe Warnings : 1 New User
Joined: 28 Nov 2006 Posts: 75 Location: India
|
|
|
|
Hi,
Is there any simple method to find out the call chain of a program? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Is there any simple method to find out the call chain of a program? |
simple ... NO !
possible ... YES
as usually depends on the real need to find out,
Your skills,
Your knowledge of the MVS control blocks and chains
after all abends contain that info...
abend in ... at address ...
called by .... at address ...
...
... |
|
Back to top |
|
|
nbalajibe Warnings : 1 New User
Joined: 28 Nov 2006 Posts: 75 Location: India
|
|
|
|
HI es,
When we make some modifications in a sub program, it becomes a tough task to find out all the main driver programs. (If we are going to introduce a new DB2 subroutine all the main programs have to be found out for defining RTT entry for them).
Simiarly if we are going to add a subroutine, all the subroutines called from that has to be found out inorder to make sure that all the required changes are done.
So is there any tool to find out the call chain? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If your source is in a common library, you can search the code in library for the name(s) of the called module(s) you are trying to track. You can do this if the source is in a pds or ca-librarian. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
if you have endevor, you can use the footprint.
if all your modules are statically linked, you can use amblist with the listload.
otherwise, 3.14 is always a solution. |
|
Back to top |
|
|
nbalajibe Warnings : 1 New User
Joined: 28 Nov 2006 Posts: 75 Location: India
|
|
|
|
Hi,
Currently we are searching for the calling modules of the subroutine and in turn their calling modules (we repeat the same process untill we are finished with all the chain). This is the case when we are using 3.14.
Is there any better method to accomplish the same.
We are also not working on endevor. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Without endevor or some other similar tool (like changeman), i believe what you are doing is the way to go.
A word of caution - if any of the called modules are specified/determined at run-time (rather than compile-time), they will not appear in any source search. |
|
Back to top |
|
|
nbalajibe Warnings : 1 New User
Joined: 28 Nov 2006 Posts: 75 Location: India
|
|
|
|
Hi,
We are using Changeman, how can we use it for this? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I'd suggest you talk with your Configuration Management or Change Control people. They should be able to help.
Also, maybe someone here at the forums will post some changeman info - it is a product i've not used (yet ). |
|
Back to top |
|
|
|