Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How To Find name of the transaction that trig another tran

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
morfius9
Warnings : 1

New User


Joined: 22 Feb 2006
Posts: 27

PostPosted: Wed Jul 19, 2006 12:31 pm    Post subject: How To Find name of the transaction that trig another tran
Reply with quote

I have a transaction that is triggered from another transaction. How do i find the name of the triggering transaction if i have the name of the triggered transaction.
Back to top
View user's profile Send private message

Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 19, 2006 12:46 pm    Post subject: Hi
Reply with quote

Do a search in the source code library which by giving the transaction id(u have) as the search criteria.You will get all progs which references this transaction.

You can refine the search by LINK,XCTL,START commands as these commands could intitate another transactions.


-Han.[/u]
Back to top
View user's profile Send private message
morfius9
Warnings : 1

New User


Joined: 22 Feb 2006
Posts: 27

PostPosted: Wed Jul 19, 2006 2:10 pm    Post subject: Re: How To Find name of the transaction that trig another tr
Reply with quote

Fine, But I wanted to do this programatically...i.e. i wanted the name of the initiating transaction in the current transaction. Is there any way to do it in the program?
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 19, 2006 4:53 pm    Post subject: Hi
Reply with quote

I dont think there is a direct way to find that..Most shops have programmes which passes this info ie, intitaing transaction thru the COMMAREA.

A small correction in my prev mail :XCTL and LINK not uses a transaction ID but the program name.

START could invoke a new transaction in addition to TDQ ATI.

-Han.
Back to top
View user's profile Send private message
morfius9
Warnings : 1

New User


Joined: 22 Feb 2006
Posts: 27

PostPosted: Thu Jul 20, 2006 8:41 am    Post subject: Re: How To Find name of the transaction that trig another tr
Reply with quote

Han,
The problem is that we have two progs existing PGMA and PGMB. PGMA initiates PGMB by means of issuing start(Tran B). Where TranB is the transaction associated with PGMB. The issue now is that we have multiple transactions invoking TranB by the same method. Now it has become necessary to determine which PGM initiated the TRANB. Now passing it would mean changes to all the Programs that initiate this ProgB as well as ProgB, which i want to avoid. Can you or anyone else help me???
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Thu Jul 20, 2006 11:25 am    Post subject: Hi
Reply with quote

Morphius,

Using teh REQID option too you can pass the info when issueing START command and could retrive that info in the second prog using EIBREQID but still you need to modify all those START calls.

START is an asynchronous process intiating command ie,the intiating tran doesnot have to wait for the second transaction to complete and the second transaction would defenetily should know after processing where the data has to be placed.

In this scenario if you explicty require the info of first transaction you may want to change all those intitating transaction START calls to pass the prog and transaction info to the asyncronosuly started transaction.

Iam not sure of any shorcuts avaialable for this..

-Han.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us