CO PYFILE 36 TYPE OLDDATE REPLACE NJPROMPT displays, at the terminal, the names of the files being
copied.
suppresses the display of the names of the files being
copied.
uses the current date as the creation date of the new
file(s) uses the date from the input file as the date for the new
output file. In the case of multiple input files and a
single output file, the date of the 'first' input file
processed is used as the date for the new output file.
checks that files with the same fileid as the output file
do not already exist. If one or more output files do
exist, an error message is displayed and the COPYFILE command terminates. This option is the default so that
existing files are not inadvertently destroyed.
causes the output file to replace an existing file with
the same file identifier. REPLACE is the default option
when only one fileid is entered or when the output fileid
is specified as "= = =."
displays the messages that request specification or
translation lists.
suppresses the display of prompting messages
specification and translation lists.
for FROM recno is the starting record number for each input file in the copy operation. FRLABEL xxxxxxxx
xxxxxxxx is a character string that appears at
beginning of the first record to be copied from
input file. Up to eigmt nonblank characters may
specified.
the
each
be F8R numrec is the number of records to be copied from each input
file. TOLABEL xxxxxxxx SPECS OVLY IBM VM/370 xxxxxxxx is a character string which, if at the beginning
of a record, stops the copy operation for that input
file. The record containing the given character is not
copied. Up to eight nonblank characters may be specified.
indicates that you are going to enter a specification
list to define how records should be copied. See "Entering a COPYFILE Specification List" for information
on how you can define output records in a specification
list.
indicates that no specification list is to be entered.
overlays the data in an existing output file
from the input file. You can use OVLY with
option to overlay data in particular columns. eMS Reference
with data
the SPECS
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
Previous Page Next Page