Linking to a CICS server program

A link to a CICS® program is made using an ECIRequest constructor to set the required parameters for the ECI call.

You can either use the default constructor which sets all parameters to their default values, or one of the other constructors which allow you to set different combinations of parameters. Place any data to be passed to the server program in a COMMAREA or container.

You can create ECI requests for synchronous program link calls by setting the Call_Type field to ECI_SYNC or ECI_SYNC_TPN. You can create ECI requests for asynchronous program link calls by setting the Call_Type field to ECI_ASYNC or ECI_ASYNC_TPN. The ECI_SYNC and ECI_ASYNC call types cause the Transid field to be used as TranName, and the ECI_SYNC_TPN and ECI_ASYNC_TPN call types cause the Transid field to be used as TPNName.

If you use the ECI_ASYNC or ECI_ASYNC_TPN call type with CICS Transaction Gateway for z/OS®, you must use the Callbackable interface.


Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tgzos_latest/help/topic/com.ibm.cics.tg.zos.doc//progdezos/cclaojec.html