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

LOCATE statement

The LOCATE statement can be used only with an OUTPUT SEQUENTIAL BUFFERED file for locate mode processing. It allocates storage within an output buffer for a based variable and sets a pointer to the location of the next record. For further description of locate mode processing, see Locate mode.

Read syntax diagramSkip visual syntax diagram>>-LOCATE--based-variable--FILE--(file-reference)--------------->
 
>--+--------------------------+--+-----------------------+--;--><
   '-SET--(pointer-reference)-'  '-KEYFROM--(expression)-'
 

The keywords can appear in any order.

based-variable
Must be an unsubscripted level-1 based variable.

Terms of use | Feedback

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