Jumps directly to a record.
Syntax:
LOCATE lnum | label | key-value KEY | 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') and UTF-16 character values (UC'value') are also supported.
Jumps to the record with a key value GTEQ the key_value. The KEY parameter is only valid for keyed files.
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.
Alias: L, LOC
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|