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

String Overlay Defining

String overlay defining allows you to associate a defined variable with the storage for a base variable. Both the defined and the base variable must be string or picture data.

Neither the defined nor the base variable can have the ALIGNED or the VARYING attributes.

Both the defined and the base variables must belong to:

Examples:

DCL A CHAR(100),
    V(10,10) CHAR(1) DEF A;

V is a two-dimensional array that consists of all the elements in the character string A.

DCL B(10) CHAR(1),
    W CHAR(10) DEF B;

W is a character string that consists of all the elements in the array B.


Terms of use | Feedback

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