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

POINTER variable and attribute

A pointer variable is declared contextually if it appears in the declaration of a based variable, as a locator qualifier, in a BASED attribute, or in the SET option of an ALLOCATE, LOCATE, READ, or FETCH statement. It can also be declared explicitly.

Read syntax diagramSkip visual syntax diagram>>-POINTER-----------------------------------------------------><
 

Abbreviation: PTR

The value of a pointer variable that no longer identifies a generation of a based variable is undefined (for example, when a based variable has been freed). Before a reference is made to a pointer-qualified variable, the pointer must have a value.


Terms of use | Feedback

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