IEBCOPY uses the following input:
- A partitioned data set, or a PDSE, or unload data set that contains
members to be copied, merged, altered, reblocked, loaded, or unloaded.
- An optional control data set that contains utility control statements.
The control data set is required when:
- There is more than one input or one output data set to be processed,
- Designated members are to be selected or excluded, or
- A load module library is to be altered or reblocked (ALTERMOD
or COPYMOD is needed).
IEBCOPY produces the following output:
- Output data sets, which contain the copied, merged, altered, reblocked,
or unloaded members. The output data set is either a new data set
(from a copy, reblock, load, or unload) or an old data set (from a
merge, compress-in-place, copy, alter, or load).
- A message data set, which lists control statements, IEBCOPY activities,
and error messages, as applicable.
IEBCOPY might require:
- Optional spill data sets, which are temporary data sets used to
provide space when not enough virtual storage is available for the
input or output partitioned data set directories. These data sets
are opened only when needed.
If IEBCOPY is invoked from an application program, you can dynamically
allocate the data sets by issuing SVC 99 before calling IEBCOPY.
For IEBCOPY return codes, see Invoking Utility Programs from an Application Program.