APPEND COPYFILE appends the data from the input file at the end of the
output file. nQQifi£ati2g Q£ti2ll§: The following options can be used to
change the record format of a file. See "Modifying Record Formats" for more details. { FV } is the record format of the output files. If not
specified, the output record format is the same as that
of the input file.
LRECL nnnnn is the logical record length of the output fi1e(s) if it to be different from that of the input file(s). The
maximum value of nnnnn is 65535. TRUNe PACK UNPA:K FILL c
FILL hh EBCDIC UPCASE LOWCASE TRANS removes trailing blanks (or fill characters) when
converting fixed-length files to variable-length format.
suppresses the removal of trailing blanks (or fill
characters) when converting fixed-length files to
variable-length format.
compresses records in a file so that they can be stored
in packed format. A file in packed format should not be modified
in any way. If such a file is modified, the UNPACK routines are unable to reconstruct the original file.
reverses the PACK operation. If a file is inadvertently
packed twice, you can restore the file to its original
unpacked form by issuing the COPYFILE command twice.
is the padding and truncation character for the TRUNC option or the principal packing character for the PACK
option. The fill character may be specified as a single
character, c, or by entering a two-digit hexadecimal
representation of a character. The default is 40 (the
hexadecimal representation for a blank in EBCDIC).
converts a file that was created with 026 characters (BCD), to 029 keypunch characters
The following conversions are made:
{ to
& to + % to # to = Q) to to
keypunch
(EBCDIC) converts all lowercase characters in each record to
uppercase before writing the record to the output file.
converts all uppercase characters in each record to
lowercase before writing the record to the output file.
indicates that you are going to enter a list of character
translations to be made as the file is copied. See "Entering Translation Specifications" for details on
entering a list of characters to be translated. Section 2. CMS Commands 37
COPYFILE SINGLE suppresses multiple output mode regardless of the manner
in which the file identifiers are specified.
Figure 5 shows combinations of options
together in the same COPYFILE command.
column is specified, none of the options
coded.
that should not be specified
If the option in the first
in the second column should be r , Option I , APPEND , I EBCDI: FOR FRL ABEL FROM LOW-CASE LRECL NEWDATE NEW FILE NOPRO[1PT NOSPE:S NOTRUNC NOTYPE OLDDA!E OVLY PACK PROMPT RECFM REPLA:E SPECS TOLABEL TRANS TRaNC '!'YPE UNPACK UPCASE Figure 5.
-----,
Incompatible Options LRECL, NEWDATE, NEWFILE, OLDDATE, OVLY, PACK, RECFM, REPLACE, UNPACK PACK, UNPACf{ PACK, TOLABEL, UNPACK FROM, PACK, UNPACK FRLABEL, PACK, UNPACK PACK, UNPACK APPEND, PACK, UNPACK APPEND, OLDDATE APPEND, OVLY, REPLACE PROMPT SPECS TRUNC TYPE APPEtfD, NEWDATE APPEND, NEWFILE, PACK, REPLACE, UNPACK APPEND, EBCDIC, FOR, FRLABEL, FROM, LOWCASE, LRECL, OVLY, RECFM, SPECS, TOLABEL, TRANS, TRUNC, UNPACK, UPCASE NOPROMPT APPEND, PACK, UNPACK APPEND, NEWFILE, OVLY NOSPECS, PACK, UNPACK FOR, PACK, UNPACK PACK, UNPACK NOTRUNC, PACK, UNPACK NOTYPE APPEND, EBCDIC, FOR, FRLABEL, FROM, LOWCASE, LRECL, OVLY, PACK, RECFM, SPECS, TOLABEL, TRANS, TRUNC, UPCASE PACK, UNPACK COPYFILE Option Incompatibilities USING THE COPYFILE COMMAND The simplest use of the COPYFILE command is for copying a single CMS file from one disk to another, or making a duplicate copy of the file on
the same disk. For example:
copyfile test1 assemble a test2 assemble a
makes a copy of the file TESTl ASSEMBLE A and names it TEST2 ASSEMBLE A.
38 IBM VMi370 eMS Command and Macro Reference
Previous Page Next Page