Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

PARMSET

PARMSET returns a BIT value indicating if a specified parameter was set on invocation of the procedure.

Read syntax diagramSkip visual syntax diagram>>-PARMSET--(--x--)--------------------------------------------><
 
x
Must be a parameter of the preprocessor procedure.

The PARMSET built-in function can be used only within a preprocessor procedure.

PARMSET returns a bit value of '1'B if the parameter x was explicitly set by the function reference which invoked the procedure, and a bit value of '0'B if it was not--that is, if the corresponding argument was omitted from the function reference in a preprocessor expression, or was the null string in a function reference from input text.

PARMSET can return '0'B, even if a matching argument does appear in the reference, but the reference is in another preprocessor procedure, as follows:


Terms of use | Feedback

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