Writing a node error program

You can write a node error program (NEP) for terminals and logical units that are supported using the ACF/SNA interface.

CICS® supplies a sample node error program that you can use as the basis for your own program. Like the terminal error program for non-z/OS® Communications Server devices, the node error program for SNA-attached terminals is available in three forms:
  1. The default node error program
  2. The CICS-supplied sample node error program
  3. User-written versions.

If you code an EXEC CICS HANDLE CONDITION TERMERR command in your application program, it is sometimes possible for the application program to handle exceptional cases, rather than using a node error program. The TERMERR condition is driven if the node abnormal condition program (DFHZNAC) actions an ABTASK (ATNI abend). The TERMERR condition is application-related and is not an alternative to the node error program, which must be used for session-related problems. Dealing with errors in the application program is particularly useful in an intersystem communication (ISC) environment.