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 call chain of a Program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: To find out the call chain of a Program
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Nov 16, 2007 8:27 pm    Post subject: Reply to: To find out the call chain of a Program
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    Post subject:
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

Site Director


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

PostPosted: Sat Nov 17, 2007 10:16 am    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Mon Nov 19, 2007 3:00 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Nov 20, 2007 12:23 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Nov 20, 2007 12:47 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 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
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm

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