A COPY control statement identifies the input and output libraries
to be used for the SELECT control statements that follow it. Each
COPY statement identifies a distribution library that has elements
to be copied to a single target library. Multiple COPY statements
can identify the same target library.
A COPY control statement must follow an INVOKE or SELECT control
statement. Also, each COPY control statement must be followed by at
least one SELECT control statement.
COPY control statement
>>-COPY--FROMLIB(ddname)--TOLIB(ddname)--•---------------------><
The following operands are required on the COPY statement:
- FROMLIB
- is the ddname used by the copy utility as its input file for the
source of the element (that is, the distribution library). The name
can be 1 to 8 characters and must be composed of uppercase alphabetic,
numeric, or national ($, #, @) characters.
- TOLIB
- is the ddname used by the copy utility as its output file identifying
where the element is to be installed (that is, the target library).
The name can be 1 to 8 characters and must be composed of uppercase
alphabetic, numeric, or national ($, #, @) characters.