
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-42
COPY: Copy Form
If you specify EBCDICIN and
in-filename
is a tape DEFINE, the EBCDIC
attribute of the DEFINE must be ON or unspecified. FUP sets the EBCDIC
attribute of the DEFINE to OFF for the life of the FUP command.
If you specify EBCDICIN, FUP translates the data. If you omit EBCDICIN (but a
tape DEFINE is set to request translation), labeled tape processing performs
the translation.
RECIN in-record-length
specifies the maximum number of bytes in an input record.
If you include the RECIN option (and
in-filename
is a tape DEFINE), the
RECLEN attribute of the DEFINE must either be unspecified or match the
RECIN
in-record-length.
If you include the RECIN option, the actual number of bytes in each input
record (the read count) depends on whether you also specify the TRIM option:
If you do not specify the TRIM option, the read count is the actual number
of bytes in the input record. Although the read count for unstructured files
that are not in EDIT file format is exactly
in-record-length
bytes, the
last record of the file might be less. The read count is the number of bytes
actually read for all other files.
If you specify the TRIM option, every trailing
trim-character
is deleted
from the input record. The read count includes only the significant
characters (those not trimmed).
If you omit the RECIN option, FUP determines the
in-record-length
value:
If
in-filename
is a tape DEFINE that has RECLEN specified, USE set to
IN (or not specified), and LABELS set for labeled tape processing,
in-record-length
is set to the RECLEN value.
If you specify
in-block-length
using the FUP BLOCKIN option or the
BLOCKLEN attribute of a tape DEFINE (and it is less than or equal to
4096), that value is used for
in-record-length
. If you specify an
in-block-length
greater than 4096, the value of
in-record-length
is 4096.
If you do not specify
in-block-length
and the input file is an
unstructured file that is not in EDIT file format (or is a process), FUP uses
132.
If you do not specify
in-block-length
with the FUP BLOCKIN option or
the BLOCKLEN attribute of a tape DEFINE (and the input file is a
structured disk file or a nondisk device), FUP uses the record length
specified when the file was created—or at system generation.