COBOL samples

These samples are for running on a CICS® server.

To run the sample programs, the correct server programs and transactions must be built and available on your CICS server. These samples are in <install_path>/samples/server.

EC01.CCP
This sample returns the current date and time in its COMMAREA.
EC02.CCP
This sample returns the number of times it has been run in a unit of work in its COMMAREA.
EC03.CCP
This sample receives CHAR container INPUTDATA and performs CICS GET CONTAINER commands to return the contents, length and CCSID of the container. This program returns the length in a BIT container and the CCSID in a CHAR container, plus the date and time on the CICS server and a message containing the input data or a failure message.

For information about how to build and install these programs, refer to your CICS server documentation.


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/CICSServerApplications.html