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

Type definitions

User-defined types (aliases)
DEFINE ALIAS statement
Defining ordinals
DEFINE ORDINAL statement
Defining typed structures and unions
HANDLE attribute
Declaring typed variables
TYPE attribute
ORDINAL attribute
Typed structure qualification
Using the '.' operator
Combinations of arrays and typed structures or unions
Using handles
Using ordinals
Example
Type functions

In a programming language, a type is a description of a set of values and a set of allowed operations on those values. PL/I has many built-in data types. Each type can specify a number of elementary attributes. Data elements describes these built-in data types.

PL/I allows you to define your own types using the built-in data types. This chapter discusses user-defined types (aliases, ordinals, structures, and unions), declarations of variables with these types, handles, and type functions.


Terms of use | Feedback

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