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.
 >>-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.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)