COBOL Programs
This section provides instructions to construct the RED CICS COBOL application program.
Note: Your application must include the copybook member SXCCREDW. It is the layout for the parameters used by
SXCOTRED.
- Create the data object you want to publish.
- Create a Container with the data - USERDATA.
- Create
SXCOTRED parameter Container.
- REDW-RED-TYPE: F (set type as needed “F”, “R” or “G”)
- REDW-SERVICE: TRIGGER-TEXT (set Service Name to the Trigger Definition Id you want to use)
- REDW-Container-Name: USERDATA (container name of data created in Step 3)
- REDW-Single-Container: set to TRUE
- LINK to
SXCOTRED with channel.
The message published will be the size of the container data.
- Upon return:
- Check CICS return codes.
- GET
SXCOTRED container which will have the return code and reason code to the request.
Copyright © Cloud Software Group, Inc. All rights reserved.