Control Statements


IEBCOPY process the tasks using job and utility control statements. Those are -

  • Job Control Statements
  • Utility Control Statements

Job Control Statements


StatementUsage
SYSPRINT DDDefines a sequential data set or spool for listing control statements and messages.
SYSUT1 or anyname1 DD Specifies the input PDS or unload dataset.
The data set can be basic, large, extended, or compressed.
SYSUT2 or anyname2 DDSpecifies PDS or unload dataset for output.
SYSUT3 DD Specifies temporary data set.
SYSUT3 is used when there is no space in virtual storage for input data sets.
SYSUT4 DD Specifies temporary data set.
SYSUT4 is used when there is no space in virtual storage for output data sets.
SYSIN DD Defines the optional control data set.

Utility Control Statements


CIEBCOPY utility Control statements are used to control the IEBCOPY processing. IEBCOPY control statements are -

Note! A copy operation starts with a COPY, COPYGRP, COPYGROUP, COPYMOD, or ALTERMOD statement. It continues until another COPY, COPYGRP, COPYGROUP, COPYMOD, or ALTERMOD statement is found or the end of the control data set is found.