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 dataset 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 dataset.
SYSUT3 is used when there is no space in virtual storage for input datasets.
SYSUT4 DD Specifies temporary dataset.
SYSUT4 is used when there is no space in virtual storage for output datasets.
SYSIN DD Defines the optional control dataset.

Utility Control Statements


IEBCOPY utility control statements are used to control the utility processing and those 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 dataset is found.