beautypg.com

HP Integrity NonStop J-Series User Manual

Page 170

background image

NonStop AutoTMF Commands

HP NonStop AutoTMF Software User’s Guide429952-017

6-94

UPDATE

COMP[RELEN] n

the compare length for generic positioning on the record key (primary or
alternate) specified in the FIRST KEY option.

n is a value between 1 and 255 that is less than or equal to the length of the
FIRST KEY specified.

COUNT num-records

the number of records or rows to update.

If omitted, all records are copied

EXACT

sets exact positioning on the record key (primary or alternate) specified in the
FIRST KEY option.

FIRST { ordinal-record-num }
{ KEY { record-spec | key-value } }
{ key-spec ALTKEY key-value [, key-value ] }

the starting record of the input file to update.

If FIRST is omitted, the update starts at the first record or row in the input file.

ordinal-record-num

the number of records or rows from the beginning of the file that are to be
skipped. The first record in a file is record zero. The maximum value is
4294967295.

KEY { record-spec | key-value }

the primary key value for the starting record or row of a structured disk file.

record-spec is a fixed quantity limited to 2**63 -1.

for unstructured files, record-spec is the starting relative byte address

for relative files, record-spec is the starting record number

for entry-sequenced files, record-spec is the 64-bit numeric record key

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 } ]

This manual is related to the following products: