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

ORDINAL attribute

By using the TYPE or ORDINAL attribute, variables can be declared with an ordinal type. See TYPE attribute for the syntax for the TYPE attribute.

Read syntax diagramSkip visual syntax diagram>>-ORDINAL--ordinal-type-name----------------------------------><
 
ordinal-type-name
Specifies the name of a previously defined set of ordinal values.

For example:

  dcl Wall_color ordinal Color;

The ORDINAL attribute conflicts with other data attributes such as FIXED or SIGNED, but it is allowed with attributes such as BASED or DIMENSION.


Terms of use | Feedback

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