OUTPUT command and dynamic allocation of copy data sets
To use the current default output descriptor, use the name DEFAULT in the COPYDDN or RECOVERYDDN option in a COPY or COPY IMAGECOPY statement.
To modify the default descriptor, provide a new descriptor name in an OUTPUT statement and code the options you want to change. Any options not coded default to the corresponding values in the default descriptor. Also, by using the DSNAME, COPYDSN, or RECOVERYDSN option in a COPY or COPY IMAGECOPY statement, you can override the default data set names without using an OUTPUT statement.
For information about requesting dynamic allocation of output copy data sets within a COPY statement, see COPYDDN and RECOVERYDDN. See also FULLDDN, FULLDSN, FULLRECDDN and FULLRECDSN, and their alternatives, BIGDDN, BIGDSN, BIGRECDDN, and BIGRECDSN, beginning on FULLDDN. For information about requesting dynamic allocation within a COPY IMAGECOPY statement, see COPYDDN and RECOVERYDDN.
All statements in the SYSIN data set are processed sequentially, so a new output descriptor named in an OUTPUT statement is available for all COPY or COPY IMAGECOPY statements that follow that OUTPUT statement. You can use more than one OUTPUT statement in an SYSIN data set, but each output descriptor must have a different name.
This section contains the following topics: