Using the default output descriptor
This example tells BMC AMI Copy to use the default output descriptor values to make the local site primary and backup copy data sets. The reserved word DEFAULT identifies that set of default output descriptor values. You cannot use DEFAULT for both COPYDDN and RECOVERYDDN when one is specified as stacked to tape and one is not.
You can mix dynamic and DD allocations, as in the following example:
This example tells BMC AMI Copy to use the current default output descriptor values to make the remote site primary copy. It also specifies that the remote site backup copy requires a DD statement in the JCL named RBCOPY because (in this case) there is no output descriptor named RBCOPY but a DD statement for it exists in the JCL.
If you want to use different data set names than those in the current default output descriptor, you can use the COPYDSN, RECOVERYDSN, and DSNAME options to change them, as in the following example:
COPYDDN(DEFAULT,DEFAULT)
COPYDSN(NEWYEAR.LPCOPY,NEWYEAR.LBCOPY)
..... more options
This example tells BMC AMI Copy to use the current default output descriptor values. Then, the COPYDSN clause specifies new values for the local site primary and local site backup copy data sets.
Command-and-syntax-reference provides details about the COPYDSN, RECOVERYDSN, and DSNAME options available with the COPY and COPY IMAGECOPY commands. For more information, see Using-GDGs-and-symbolic-variables-in-data-set-names.