COBOL Manual for TNS and TNS/R Programs
Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
9-220
SET TO
POINTER Data Items
pointer
address
identifier-1
is a level-01 or level-77 data item in the Linkage Section that does not have an
ACCESS MODE STANDARD clause in its data description entry. If pointer
is ADDRESS OF identifier-1, identifier-1 is relinked so that
subsequent references to identifier-1 reference the item whose address
is specified by address.
If address is ADDRESS OF identifier-3, then identifier-1 is
linked to the address of identifier-3 (not the value of identifier-3 ).
If address is identifier-4, then identifier-1 is linked to the address
that identifier-4 contains.
If address is NULL or NULLS, then identifier-1 is linked to a null
address guaranteed to point to no data item.
identifier-2
is a data item with USAGE POINTER. If pointer is identifier-2, the
address specified by address is moved into identifier-2. This address
is valid until the program terminates or returns control to its calling program.
SET TOpointer address
VST605.vsd
OFADDRESS identifier-1
identifier-2
VST606.vsd
NULL
OFADDRESS identifier-3
identifier-4
NULLS
VST607.vsd