C Programs
This section provides instructions to construct the RED CICS C application program.
Note: Your application must include the header member sxchredw.h. 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.
- Red_Type: F (set type as needed “F”, “R” or “G”)
- Service: TRIGGER-TEXT (set Service Name to the Trigger Definition Id you want to use)
- Tsq_Name: USERDATA (containername of data created in Step 3)
- 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.