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

Defaults for attributes

Language-specified defaults
DEFAULT statement
Restoring language-specified defaults

Every name in a PL/I program requires a complete set of attributes. Arguments passed to a procedure must have attributes matching the procedure’s parameters. Values returned by functions must have the attributes expected. However, the attributes that you specify need rarely include the complete set of attributes.

The set of attributes for:

can be completed by using the language-specified defaults, or by defaults that you can define (using the DEFAULT statement) either to modify the language-specified defaults or to develop a completely new set of defaults.

Attributes applied by default cannot override attributes applied to a name by explicit or contextual declaration.


Terms of use | Feedback

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