
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-50
COPY: Copy Form
The write count and the record-length word of a record are equal—even if the
record is truncated. Truncation occurs if the record is either longer than
RECOUT or longer than BLOCKOUT subtracted by two. (The record-length
word requires two extra bytes.)
If the next record with its record-length word does not fit in the current block,
VAROUT terminates the current block and begins a new block because the
blocks cannot be spanned.
VAROUT terminates a block by writing a record-length word of –1 (%177777)
to indicate that no more valid records are in the block and then pads the
remainder of the physical block. VAROUT cannot write the record-length word
of –1 when the previous record ends on the block boundary or when
out-block-length
is odd and only one byte remains in the block.
Although null records (records with a length of zero) are supported, VAROUT
does not allow the PAD and FOLD options.
This sample block has three records (MYSELF, COMPUTERS, and INC.) and
uses a BLOCKOUT length of %30 to illustrate VAROUT:
%000006 <- Record-length word for record 1
M Y
S E Record 1
L F
%000011 <- Record-length word for record 2
C O
M P
U T Record 2
E R
S
%177777 <- Record-length word for end of block
p p <- Padding
The third record (INC.) could not be written in the sample block because its
record-length word requires six bytes beginning on a word boundary. The
VAROUT option terminates the block (because only four bytes remain) and
writes record three to the next block.
XLATE [ xlate-table-name ]
XLATEIN [ xlate-table-name ]
XLATEOUT [ xlate-table-name ]
specifies a translation table for translating records. You can specify XLATE,
XLATEIN, or XLATEOUT and optionally includes a translation table name
(
xlate-table-name
). If a translation table name is not provided, FUP uses
the one defined in the most recent CONFIG[URE] XLATE command. An error
occurs if
xlate-table-name
is omitted and no translation tables are defined
or if the translation table name is not a defined translation table.
If XLATE or XLATEIN are specified, FUP uses the in direction of the translation
table. If XLATEOUT is specified, FUP uses the out direction of the translation
Содержание G08
Страница 4: ......
Страница 290: ...FUP Messages File Utility Program FUP Reference Manual 523323 014 3 38 ...
Страница 296: ...FUP Command Summary File Utility Program FUP Reference Manual 523323 014 B 4 ...
Страница 310: ...FUP Command Syntax Summary File Utility Program FUP Reference Manual 523323 014 C 14 ...