View previous topic :: View next topic |
Author |
Message |
princeofpersia2 Beginner

Joined: 01 Jun 2006 Posts: 4 Topics: 2
|
Posted: Thu Feb 15, 2007 11:25 pm Post subject: Re: How to get calling txn's name in the called txn?Or pgm n |
|
|
Hi Folks!
Transaction M900 starts program SBC0900.
Transaction TMDS starts program SBCP785.
Transaction MMCP also starts program SBCP785 and MMCP is used by several other programs (in other regions) to run SBCP785. One of these transacation/program is M900/SBC0900.
The program SBC0900 starts TMDS as follows -
EXEC CICS START
TRANSID ('TMDS')
FROM (SBMPF-RECORD)
RESP (CICS-RESPONSE)
END-EXEC
In SBCP785 (attached to TMDS txn), how can I make out whether the program was STARTed by M900/SBC0900 or another transaction/program (perhaps in another region)?
Also, the solution must take into consideration that only these two programs - SBC0900 & SBCP785 - be changed. No other program that STARTS MMCP/SBCP785 should be needed to be changed.
Besides M900/SBC0900, the other programs use the following command to start MMCP/SBCP785 -
EXEC CICS
START TRANSID ('MMCP')
FROM (SBMPF-RECORD)
END-EXEC
Any help most appreciated.
Thanks,
PrinceOfPersia2 _________________ Thanks,
princeofpersia2 |
|
Back to top |
|
 |
blitz2 Beginner

Joined: 23 Jan 2007 Posts: 84 Topics: 14
|
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Feb 16, 2007 7:26 am Post subject: |
|
|
princeofpersia2,
You will be Banned if you continue to post the same questions in multiple forums.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|