Hi,
I have an question on LINK and XCTL concept. Please help me with Answer.
Q: PGM A had called PGM B using LINK. PGM B has called again to PGM C using XCTL. PGM C had retrieved some info required for PGM A. How this information can be passed to PGM A ?. PGM C execution control cannot go back to PGM B as XCTL has been used to call.
LINK Vs XCTL
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: LINK Vs XCTL
You need to read up on CICS logical levels and how they relate to XCTL and LINK. Check the CICS Application Programming Guide for your release of CICS in the IBM Knowledge Center.
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: LINK Vs XCTL
Generally speaking pgm A must provide a storage area, address of which is passed to pgm B which in turn passes it to pgm C. I'm not a CICS person so cannot advise of how to do it in CICS. But assuming assembler programs, it should be reasonable simple.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 4
- 5616
-
by Misha786
View the latest post
Tue May 02, 2023 6:23 pm
-
- 3
- 5122
-
by jrcox
View the latest post
Wed Jul 29, 2020 7:52 pm
-
-
I can't get the LINK macro working properly
by chong_zhou » Fri Aug 21, 2020 10:53 pm » in Assembler - 13
- 7364
-
by steve-myers
View the latest post
Thu Aug 27, 2020 1:06 am
-