View previous topic :: View next topic
|
Author |
Message |
pkmurali Warnings : 1 Active User
Joined: 15 Dec 2005 Posts: 271
|
|
|
|
All,
I have to invoke program B from Program A without using TDQ,LINK,XCTL,CALL,MQ,TRANSID(Transaction of Program B). Please let me know if there is any possibilty?
Thanks,
Murali. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
START |
|
Back to top |
|
|
pkmurali Warnings : 1 Active User
Joined: 15 Dec 2005 Posts: 271
|
|
|
|
START command needs TRANSID. Apart from the above mentioned, Loading PLT Program Listing Table will invoke the program at start of CICS region. Is there any way to invoke the program as mentioned above? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
What kind of silliness is this requirement?
Load and branch. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
if You tell the requirements, we might offer suggestions
otherwise all You will get are <derogatory adjective> comments on the <derogatory adjective> question |
|
Back to top |
|
|
pkmurali Warnings : 1 Active User
Joined: 15 Dec 2005 Posts: 271
|
|
|
|
Here is my requirement
Program-A - Trans -id KEC1
Program-B should be invoked after the execution of Program A, The Program B shouldn't use CALL,LINK,XCTL,MQPUT(triggering a transaction which invokes Program B after a record is written in MQ), TDQ(Automatic Trigger Level) Transid(START etc).
May be the requirement may be weird, but this was the question asked in a interview. Please let me know if there is any possibilities available. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
So, in other words, the transid remains as KEC1, but program B needs to be invoked after program A terminates? If program A is defined in the PCT to transid KEC1 and program A terminates (IE: EXEC CICS RETURN), then I don't understand how this logic path will work.
Osmosis maybe or wishful thinking?
Bill |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Have Program-C, started either during CICS initialization or by Program-A itself, wait on an ECB that Program-A will post to upon completion. Once the wait is released, Program-C can then start Program-B's transid. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
The answer is "USE A SPOON". |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Sorry. Some stupid interview questions really deserve stupid answers. |
|
Back to top |
|
|
pkmurali Warnings : 1 Active User
Joined: 15 Dec 2005 Posts: 271
|
|
|
|
What to do marso these type of question really tumbles my friend who faced this question. Really weird |
|
Back to top |
|
|
|