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

List of programs which are linked or XCTLed from main pgm


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naveengec

New User


Joined: 24 Mar 2007
Posts: 35
Location: pune

PostPosted: Sat Jun 30, 2007 11:52 pm
Reply with quote

Please let me know the list of programs which are linked or XCTLed from the main program when atransaction is invoked?

Eg : I have a transaction TRN1 invoking program A1 which then links B1
which then inturn links to B2 and C2 and goes on...
Then in this case, i need the list of all the linked programs ie A1,B1,B2,c2 etc.
here there is one catch, because C2 might be a conditional call,so if C2 is not linked in a particular run, then the command/tool/utility should not retun me the C2 in the list of programs invoked with a particular trigger of the transaction.
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: Sun Jul 01, 2007 1:16 am
Reply with quote

Hello,

Are you trying to determine this from source code? Are you trying to determine what happened in an already completed session?

Your "one catch" pretty much throws away any automated source analysis as some of the "things" to be invoked may be dynamic (rather than static) and not even available in the source.

Your question seems to imply that to meet your need, there must be an "awareness" of which actions are "always" and which are conditionally invoked.

If your location has a good configuration management program, you may find what you want there, otherwise, i believe you'll need to start digging and document your findings. Hopefully you (or someone who you have access to) is quite familiar with the transactions in question.

If i've misunderstood your requirement, please clarify.
Back to top
View user's profile Send private message
naveengec

New User


Joined: 24 Mar 2007
Posts: 35
Location: pune

PostPosted: Sun Jul 01, 2007 11:02 pm
Reply with quote

Dick..Thanks for your promp reply.
i just need find, is there any log which will give me the program names which are triggered by a single transaction in CICS.
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: Mon Jul 02, 2007 12:35 am
Reply with quote

Hello,

I am not clear on the "rules" you posted. In your posts, you have
Quote:
is there any log which will give me the program names which are triggered by a single transaction in CICS.
and
Quote:
because C2 might be a conditional call,so if C2 is not linked in a particular run, then the command/tool/utility should not retun me the C2 in the list of programs invoked with a particular trigger of the transaction.


Are you trying to see what has already occurred or what will/might occur?

If you are looking at "history", you can probably find what you want from the SMF records. Ask your CICS system programmer(s) if they already have some kind of reporting that will do what you need. You might also ask if the CICS logs have anything you could use.

If you are trying to determine what "could" happen, you won't find that in any logs. You will have to look at your configuration management (if it exists) or start at the "top" and map everything that might happen when this proces is run.

Once you gather the info you want, how will it be used?
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
Search our Forums:

Back to Top