The sample NEP
The sample node error program (NEP) is a generalized program structure for handling errors detected from logical units.
None of the sample NEP's components is generated as part of the standard CICS® generation process, but instead may be optionally generated as described in this section and in Sample node error program.
The sample NEP that CICS provides is designed with
two main features:
- It assumes that you want to invoke separate user-supplied error processors to handle different “groups” of error types. You specify which of the DFHZNAC internal error codes are to be regarded as a “group” for processing by any one routine, and then supply the code for that routine. CICS has some standard cases to help you.
- The supplied error processors may work in association with a separately
generated module called a node error table. This can be used to build
up statistics for each error group that the NEP processes. This table
is analogous to the terminal error table, DFHTEPT, used by the sample
terminal error program.
Some of the CICS-supplied error processors use the node error table—for example, that for errors affecting 3270 LUs (GROUP=1) (see DFHSNEP TYPE=DEF3270—including error processors for 3270 LUs).