Previous Topic: Access PPI from NCL Processes

Next Topic: NCL PPI User Variables


NCL PPI System Variables

The following system variables are available with the NCL PPI facility:

&ZPPI

Indicates whether or not PPI is available in this system.

&ZPPINAME

Contains the defined receiver ID of the current NCL process.

&RETCODE

Contains a normalized return code after &PPI verb execution. For more information, see the &ZFDBK system variable.

As &RETCODE is set by many NCL statements, it should be inspected immediately after an &PPI statement, or saved in a user variable for later inspection.

&ZFDBK

Contains the actual PPI RPB RETCODE value after an &PPI verb execution. It can be inspected as required when &RETCODE indicates an error condition to determine the exact error.

As &ZFDBK is set by many NCL statements, it should be inspected immediately after an &PPI statement, or saved in a user variable for later inspection.

&ZVARCNT

Set after a successful &PPI RECEIVE to indicate the number of NCL tokens that have had data placed in them.