Pathway/iTS SCUP Reference Manual
Table Of Contents

SCUP Commands
HP NonStop Pathway/iTS SCUP Reference Manual—520269-002
2-25
COPY Command
COPY Command
The COPY command copies a set of programs from one SCREEN COBOL object file
to another. If a program named in the COPY command has an associated entry in the
symbol table file, the symbol table is copied to the destination symbol table file.
source-file-name
is a SCREEN COBOL object file name and is the source file for the COPY
command. This file name must be different from destination-file-name.
If this parameter is omitted, the file specified in the FILE command is used.
(program-name)
is a SCREEN COBOL program name. The program name can be a single
program name or several program names separated by commas.
(*)
is all program names in the object file.
(version)
is the version of a specified program name. Version can be any of the following:
If the version parameter is omitted, the latest version of a program is used.
destination-file-name
is a SCREEN COBOL object file name and is the destination file for the COPY
command. This file name must be different from source-file-name.
If this parameter is omitted, the file specified in the FILE command is used.
The COPY command copies programs from the source object file to the destination
object file in the order specified. When a program is copied to the destination file, the
program is given a new version number that designates it the latest version of the
COPY [ SCOBOL-OBJECT ] [ source-file-name ]
{ ( program-name [ ( version ) ] }
{ [ , program-name [ ( version ) ] ] ... ) }
{ }
{ ( * [ ( version ) ] ) }
[ , destination-file-name ]
integer a single version of a program
* all versions of a program
+ all but the latest version of a program