Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

Writing the termination procedure

You should use the termination procedure to perform any cleanup required, such as closing files. You might also want to write out final statistical reports based on information collected during the error message filter procedures and the initialization procedures.

The termination procedure-specific control block is coded as follows:

Dcl 1 Uex_ISA native based,
    2 Uex_ISA_Length_fixed bin(31); /* storage(Uex_ISA)       */

The global control block syntax for the termination procedure is discussed in Structure of global control blocks. Upon completion of the termination procedure, set the return/reason codes to one of the following:

0/0
Continue compilation
4/n
Reserved for future use
8/n
Reserved for future use
12/n
Reserved for future use
16/n
Abort compilation

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)