Previous Topic: Sample Conversations

Next Topic: Application Design

&APPC Return Code Information

All &APPC verb options complete by setting a number of NCL variables with return code information.

General completion information is contained within the &RETCODE system variable and qualified by the &ZFDBK system variable. &RETCODE values of 0 and 4 occur in normal operation, while &RETCODE values of 8 or higher indicate an error condition. If an error is detected, the &SYSMSG user variable is set providing an explanation of the error condition.

A number of APPC system variables are available providing information about the current conversation being operated. For example, following a receive operation the &ZAPPCWR and &ZAPPCWRI (what-received indicators) provide information about what satisfied the operation.

Note: For more information about &RETCODE and &ZFDBK system variable settings, see the &APPC verb description in the Network Control Language Reference Guide.