beautypg.com

HP NonStop G-Series User Manual

Page 152

background image

Command Interpreter

HP AutoSYNC User’s Guide522580-016

8-60

COPY

REVERSE

the input file is to be READ from the starting record in reverse order.

REWINDIN | NO REWINDIN (magnetic tapes only)

the tape is rewound (or not rewound) when the EOF is read from the tape. If NO
REWINDIN is specified, the tape remains positioned without rewinding.The default
is REWINDIN. This option also applies to labeled tapes.

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.

TRIM trim-character

deletes any trailing character matching trim-character. The character is specified in
ASCII using quotation marks or as an integer in the range 0 to 255 that specifies
the byte value.

UNLOADIN | NO UNLOADIN (magnetic tapes only)

the tape is unloaded (or not unloaded) after the tape has been rewound. The
default is UNLOADIN. This also applies to labelled tapes.

UNSTRUCTURED

accesses the file using the unstructured option. It can be used for Enscribe
unstructured file or structured files; the file structure is ignored.

VARIN

reads variable length blocked records. These records can be produced by using
the VAROUT COPY command option described below. Each record is preceded by
a one word indicator that contains the record length in bytes.

out-options

BLOCKOUT <1 to 32767>

the number of bytes in an output record. When BLOCKOUT is not specified, the
RECOUT value is used. The default is device dependent: 80 bytes for terminal,
132 bytes for process and unstructured files. If BLOCKOUT is greater than
RECOUT, the output block is filled with RECOUT-value length records until it
contains BLOCKOUT-value bytes or the last output record is encountered.

This manual is related to the following products: