View previous topic :: View next topic
|
Author |
Message |
prasadvn_mca
New User
Joined: 15 Sep 2006 Posts: 5
|
|
|
|
hello friends,
i am struck with one thing plz help me out in this situation.
assume that there are 3 programs a,b,c
if program a is calling program b by link and program b calls program c through xctl, then if i have a return in program c where does the control go, this is the cics-cobol program
ie.
program a -----(link)--------> program b -----------(xctl)--------> program c
and i have return in program c |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Can't you try it?
O. |
|
Back to top |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
When ever their is a subprogram in CICS it is based on the levels
say Program A (main program) is calling program B (by link) and program B caliing program C (XCTL)
then
level program
**************************
05(say) Program A
06 Program B (since Link)
06 Program C (since XCTL)
*************************
I feel you got it |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi prasadvn_mca !
In your example pgm-a is calling pgm-b by ecec-cics-link.
Control is given to pgm-b. This one executes pgm-c by xctl.
Progamm-c is started. Programm-B is returning to Programm-a.
EXEC CICS XCTL only starts a new transaction.
Please correct me, if i'm wrong.
Regards, UmeySan |
|
Back to top |
|
|
|