IEBCOPY Control Statements

IEBCOPY Introduction IEBCOPY ALTERMOD

Advertisements


IEBCOPY is controlled by JCL and utility control statements.


  • Job Control Statements
  • Utility Control Statements

Let’s discuss about each one in detail.


Job Control Statements


StatementUsage
JOBStarts the job.
EXECStarts IEBCOPY.
SYSPRINT DDDefines a sequential data set or spool used for listing control statements and messages.
SYSUT1 or anyname1 DD Defines a PDS or unload data set for input.
The unload data set can be basic format, large format, extended format, compressed format or tape.
PDS or Unload data set reside on DASD or tape or any other device supported by the QSAM access method.
SYSUT2 or anyname2 DDDefines a PDS or unload data set for output.
The unload data set is a sequential data set that was created as the result of an unload operation.
PDS or Unload data set reside on DASD or tape or any other device supported by the QSAM access method.
SYSUT3 DD Defines a temp data set.
SYSUT3 is used when there is no space in virtual storage for some or all of the current input data set directory entries.
SYSUT4 DD Defines a temp data set.
SYSUT4 is used when there is no space in virtual storage for the output data set directory.
SYSIN DD Defines the optional control data set.

Utility Control Statements


COPYMOD may be abbreviated CM.

COPYGRP may be abbreviated CG.

COPYGROUP may be abbreviated CP.

To continue the copy control statement, stop at a comma.

Put any nonblank character in column 72 and start in column 16 on the next record.

To request a COPY operation, specify PDSs as input and output.

To request an UNLOAD operation, specify ainput PDS and a sequential output data set.

To request a LOAD operation, specify a sequential input data set and aoutput PDS.

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

Within each copy operation, one or more copy steps are present.

Let’s discuss each one in detail. Click on the below items



IEBCOPY Introduction IEBCOPY ALTERMOD

Advertisements