C++ sample programs

The typical screen output is given from the supplied sample programs.

Running the sample applications

The sample programs are supplied as source code in library version.CICS.SDFHSAMP library, where version is your version of CICS®. For example, for CICS Transaction Server for z/OS®, Version 6 Release 3, this is CICSTS63.CICS.SDFHSAMP.

Before you can run the sample programs, you need to compile, pre-link and link them. To do this, use the procedure ICCFCCL in data set version.CICS.SDFHPROC, where version is your version of CICS. For example, for CICS Transaction Server for z/OS, Version 6 Release 3, this is CICSTS63.CICS.SDFHPROC.

ICCFCCL contains the JCL needed to compile, pre-link and link a CICS user application. Before using ICCFCCL you might need to customize it to conform to your installation standards. See also Compiling and executing a CICS Foundation Class program.

Sample programs such as ICC$BUF, ICC$CLK and ICC$HEL require no additional CICS resource definitions, and should now execute successfully.

Other sample programs, in particular the DTP samples named ICC$SES1 and ICC$SES2, require additional CICS resource definitions. Refer to the prologues in the source of the sample programs for information about these additional requirements.