Writing a terminal error program

You can write your own terminal error program (TEP) in any of the languages supported by CICS®.

CICS-supplied code is provided in assembler language only. The names of the supplied source files and macros, and the libraries in which they can be found, are listed in Table 1.

Table 1. Supplied source files and macros
Name Type Description Library
DFHXTEP Source Sample terminal error program (assembler language) CICSTS56.CICS.SDFHSAMP
DFHXTEPT CSECT Sample terminal error tables (assembler language) CICSTS56.CICS.SDFHSAMP
DFHTEPM Macro Sample TEP program generator (assembler language) CICSTS56.CICS.SDFHMAC
DFHTEPT Macro TEP table generator (assembler language) CICSTS56.CICS.SDFHMAC
DFHTEPCA Macro assembler language communication area CICSTS56.CICS.SDFHMAC

The user-written DFHTEP receives control in the same manner as the CICS-supplied sample DFHTEP, described in Background to error handling for sequential devices. It should therefore use the communication area as its basic interface with DFHTACP.