MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: How to get calling txn's name in the called txn?Or pgm n

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
princeofpersia2
Beginner


Joined: 01 Jun 2006
Posts: 4
Topics: 2

PostPosted: Thu Feb 15, 2007 11:25 pm    Post subject: Re: How to get calling txn's name in the called txn?Or pgm n Reply with quote

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
View user's profile Send private message
blitz2
Beginner


Joined: 23 Jan 2007
Posts: 84
Topics: 14

PostPosted: Fri Feb 16, 2007 4:56 am    Post subject: Reply with quote

I think you are looking for EIBTRNID in DFHEIBLK.

http://www.mvsforums.com/helpboards/viewtopic.php?t=5675&highlight=eibtrnid
________
Ford Sierra


Last edited by blitz2 on Wed Feb 02, 2011 3:11 am; edited 1 time in total
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Feb 16, 2007 7:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group