Page 1 of 1

LINK Vs XCTL

PostPosted: Mon Jun 06, 2016 1:29 am
by chaitu566
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.

Re: LINK Vs XCTL

PostPosted: Mon Jun 06, 2016 1:49 am
by Robert Sample
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.

Re: LINK Vs XCTL

PostPosted: Tue Jun 07, 2016 7:50 pm
by willy jensen
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.