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 queries the
length of the received data; it then returns this length in a BIT
container, plus the current date and time and a message indicating
success or failure.
- EP01.CCP
- The sample is for use with the C sample programs. When this sample
has been compiled you must define a transaction called EP01 to call
EP01.CCP. This program returns the number of times it has been run
as the contents of a 3270 data stream.
- EP02.CCP
- This sample is for use with the C++ sample programs. When this
sample has been compiled you must define a transaction called EP02
to call EP02.CCP. This program returns the number of times it has
been run as information in fields of a BMS map.
- EP03.CCP
- This sample is referenced by HighEpiI1.java. The sample issues
an EXEC CICS START to run itself
again to simulate automatic transaction initiation (ATI). This sample
returns two strings of data: "Issued EXEC CICS Start" and "Started as an ATI".
The following C program and maps and are also
provided:
- EP02MAP.BMS
- This sample is a map source for use with EP02.
- MAPINQ.BMS
- This sample is a map source for EPIINQ.CCS. The sample contains
a mapset MAPINQ, and maps MAPINQ1 and MAPINQ2.
- EPIINQ.CCS
- This sample is for an EPI transaction containing two screens.
To compile this sample on z/OS®,
you require SP in the translation parameters
JCL.
For information about how to build and install these programs,
refer to your CICS server documentation.