Jumps directly to a record.
Syntax:
LOCATE lnum | label | key value | kwd
[FIRST|LAST|NEXT|PREV|KEY]
Syntax Description:
Displays the numeric line number.
Displays a previously defined label.
Displays a full or partial VSAM key field value. Hex values (X'value') are also supported.
Specify one of the following commands:
Jumps to record with line CHANGE attribute
Jumps to record with line COMMAND attribute
Jumps to record with ERROR attribute
Jumps to the first record with the requested attribute with kwd.
Jumps to the last record with requested attribute with kwd.
Jumps to the next record with the requested attribute with kwd.
Jumps to the previous record with the requested attribute with kwd.
Jumps to the record with a key value GTEQ the key_value. The KEY command is only valid for keyed files.
Alias: L, LOC
|
Copyright © 2013 CA.
All rights reserved.
|
|