Copy data set output descriptors
These characteristics include:
Disk or tape unit name
Operating system cataloging requirements for the data set
Model data control block (DCB)
Generic data set name
Largest number of volumes expected to be used
SMS class information
For disk data sets:
Disk space information
Lists of volumes
For tape data sets:
Stacked tape indicator
Optional data compression
Data set retention period
Data set expiration date
An output descriptor specifies a disk data set or a tape data set. It cannot specify both.
When you want to use dynamic allocation, use an OUTPUT command statement in your SYSIN data set to specify allocation parameters. The OUTPUT command statement must precede your RECOVER command statement as in the following example:
OPTIONS INDEXLOG YES ANALYZE YES OUTCOPY ASCODED
OUTPUT SYSCOP1 UNIT CART STACK YES
DSNAME RDAMSM.IC&TYPE.&DB.&TS.P&DSNUM(+1)
OUTPUT SYSCOP2 UNIT CART STACK YES
DSNAME AFR.IC&TYPE.&DB.&TS.P&DSNUM(+1)
RECOVER TABLESPACE AFRDB01.TS01 OUTCOPY ONLY
OUTCOPYDDN(SYSCOP1,SYSCOP2)
INDEXSPACE AFRDB01.IX01 OUTCOPY ONLY
OUTCOPYDDN(SYSCOP1,SYSCOP2)
INDEXSPACE AFRDB01.IX02 DSNUM 1 OUTCOPY ONLY
OUTCOPYDDN(SYSCOP1)
TOLOGPOINT LASTQUIESCE
GDGs and symbolic variables in data set name construction provides more information.
The preceding example allocates all image copies based on the output descriptors for SYSCOP1 and SYSCOP2. Data set names are as follows:
RDAMSM.ICLP.AFRDB01.TS01.P00(+1)
AFR.ICLB.AFRDB01.TS01.P00(+1)
RDAMSM.ICLP.AFRDB01.IX01.P00(+1)
AFR.ICLB.AFRDB01.IX01.P00(+1)
RDAMSM.ICLP.AFRDB01.IX02.P01(+1)
If the copies are being made by partition, you do not need to specify a DD name prefix, as you do with JCL-allocated copies. All partitions of the output copy can be allocated with the same OUTPUT descriptor.
For more information, see the syntax description in OUTPUT syntax.
Comments
Log in or register to comment.