Configure CICS to access z/OS Connect to call APIs
To enable CICS® applications to call APIs through IBM® z/OS Connect, enable the communication stub in the CICS region.
About this task
zosConnect-2.0 Applies to zosConnect-2.0.
The z/OS Connect communication stub is a module that establishes HTTP connections with the z/OS Connect server, transfers data between z/OS applications and z/OS Connect, and handles status and return codes that are issued by z/OS Connect. Before your CICS applications can make RESTful API calls, you must configure the communication stub in your CICS region.
- HiperSocket, a zSeries hardware feature that provides high-performance internal communications
between LPARs within the same central processor complex (CPC). For more information, see
HiperSockets concepts and connectivity in the z/OS documentation.
- Shared Memory Communication (SMC), which requires z/OS
2.2 or later on z13® in the same CPC. For more information, see
Shared Memory Communications in the z/OS documentation.
To set up the z/OS Connect communication stub in CICS, you must have the following resources in your CICS region:
- A TDQUEUE resource with the name
BAQQ - This resource defines the transient data queue that is used by the z/OS Connect communication stub to log communication stub error messages. By default, messages are printed to DD BAQOUT in the CICS job log.
- A URIMAP resource with the name
BAQURIMP - This resource handles HTTP client requests from the communication stub to the z/OS Connect Server.
- A PROGRAM resource with the name
BAQCSTUB - This resource defines attributes for the z/OS Connect communication stub program
BAQCSTUB. By default,BAQCSTUBis defined as threadsafe.
Sample resources are supplied with z/OS Connect and
are provided in a CSD group with the name BAQAPIR.
It is recommended that you use the resources as supplied. Based on the topology you want to use
and your CICS and z/OS Connect environment, you might need to modify the
attributes of the BAQURIMP resource definition.