LINK Vs XCTL

Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer
chaitu566
Posts: 1
Joined: Mon Jun 06, 2016 1:11 am
Skillset: COBOl, CICS, JCL, DB2
Referer: Google

LINK Vs XCTL

Postby chaitu566 » Mon Jun 06, 2016 1:29 am

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.

Robert Sample
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

Postby Robert Sample » Mon Jun 06, 2016 1:49 am

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.

willy jensen
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

Postby willy jensen » Tue Jun 07, 2016 7:50 pm

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