PARMSET returns a BIT value indicating if a specified parameter was set on invocation of the 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: