HP NonStop G-Series User Manual
Page 199

Command Interpreter
HP AutoSYNC User’s Guide—522580-015
8-111
UPDATE
key-value applies only to key-sequenced files and specifies the approximate
position of the starting record; key-value is specified as a string or as integer
byte values in the range of 0 to 255.
The key-value is entered as follows:
“[“ { string } [, { string } ] “]”
{ 0:255 } [ { 0,255 } ]
where the integers represent the byte values. To specify a list of strings, enclose
each string in quotation marks separated by a comma and enclose the list in
square brackets.
key-specifier
is the alternate key tag (1 or 2 bytes) designating the alternate key to be used
for positioning.
ALTKEY key-value [, key-value ]
the alternate key of the starting record or row. The format of key-value is
described above.
EXACT
requests exact positioning on the record key (primary or alternate) specified in the
FIRST KEY option.
FROMLAST
positions on the last record in the key range specified in the FIRST KEY option.
REVERSE
the input file is to be READ from the starting record in reverse order.
SHARE
the file is to be opened in shared-exclusion mode. The default is protected.
SKIPMATCH (key sequenced files only)
positions in the input file to the record immediately following the one whose key
matches the key specified in the FIRST KEY option. The entire key must be
supplied. If the file is not of type key sequenced, an error 46 is returned.