IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To find out the call chain of a Program


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nbalajibe
Warnings : 1

New User


Joined: 28 Nov 2006
Posts: 75
Location: India

PostPosted: Fri Nov 16, 2007 8:15 pm
Reply with quote

Hi,

Is there any simple method to find out the call chain of a program?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Nov 16, 2007 8:27 pm
Reply with quote

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
View user's profile Send private message
nbalajibe
Warnings : 1

New User


Joined: 28 Nov 2006
Posts: 75
Location: India

PostPosted: Fri Nov 16, 2007 9:08 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sat Nov 17, 2007 10:16 am
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Nov 19, 2007 3:00 pm
Reply with quote

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
View user's profile Send private message
nbalajibe
Warnings : 1

New User


Joined: 28 Nov 2006
Posts: 75
Location: India

PostPosted: Tue Nov 20, 2007 12:16 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Nov 20, 2007 12:23 am
Reply with quote

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
View user's profile Send private message
nbalajibe
Warnings : 1

New User


Joined: 28 Nov 2006
Posts: 75
Location: India

PostPosted: Tue Nov 20, 2007 12:26 am
Reply with quote

Hi,

We are using Changeman, how can we use it for this?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Nov 20, 2007 12:47 am
Reply with quote

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 icon_smile.gif ).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top