View previous topic :: View next topic
|
Author |
Message |
go4salu
New User
Joined: 12 Jan 2006 Posts: 11
|
|
|
|
Hi,
Can anybody please let me know how to find out the calling CICS program for a particular CICS program apart from 3.14 search?
Thanks in advance.
Shail |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
if You explain better the requirement somebody will be glad to provide more info
as a general point ...
for dynamica calls You might have to chase the control blocks ( with more or less success )
( it will not work for CICS links/xctl )
for static calls the best way will be the ISPF members parts list |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
If program 'B' had been accessed via a LINK-API from program 'A', then issue an ASSIGN INVOKINGPROG API in program 'B' and it will return the name of program 'A'.
Note: The returned INVOKINGPROG API value will be valid ONLY in a LINK-API (not sure about XCTL-API) access, as described above. If program 'B' had been CALLED (not LINKed-To) by program 'A', then the INVOKINGPROG returned value will be incorrect.
Bill |
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
Could you not do like enrico described and chain through your task PG block and read each program that has been used in your task? |
|
Back to top |
|
|
|