Rational Developer for System z, Version 7.6

PL/I language types

Table 1 shows the classification of attributes by variable types as described in the PL/I Language reference manual.

Table 1. PL/I Language variable types and data attributes
Variable Type Data Attributes
Area AREA(size)
Coded arithmetic REAL | COMPLEX
FLOAT | FIXED
BINARY | DECIMAL
PRECISION
[SIGNED | UNSIGNED]
Entry ENTRY [RETURNS]
[LIMITED]
File FILE
Format FORMAT
Label LABEL
Locator POINTER | HANDLE |
{OFFSET [(area-variable)]}
Ordinal ORDINAL
Picture PICTURE
REAL | COMPLEX
String BIT | CHARACTER | GRAPHIC | WIDECHAR
[(length)]
[ VARYING | VARYINGZ | NONVARYING]
Task TASK

Arrays: DIMENSION can be added to the declaration of any variable.

Structures and unions:
  • For a major structure or union: scope, storage (except INITIAL), alignment, STRUCTURE or UNION, and the LIKE attributes can be specified.
  • For a member that is a structure or a union: alignment, STRUCTURE or UNION, and the LIKE attributes can be specified.
  • Members always have the INTERNAL scope attribute.

Terms of use | Feedback

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