COPY IMAGECOPY command
You can also use the COPY IMAGE COPY command to copy large format data sets.
You can either specify dynamic allocation of the copy data sets or allocate them in the JCL, regardless of how the original primary copy was specified. BMC AMI Copy registers the new copies in the SYSIBM.SYSCOPY table or in the BMCXCOPY table with the same RBA (or LRSN) value and the same SHRLEVEL, ICTYPE, TIMESTAMP, ICTIME, and ICDATE values as the original copy.
If COPY IMAGECOPY makes a backup copy of a primary copy that is an Instant Snapshot, the backup copy is registered in BMCXCOPY. If COPY IMAGECOPY is used to make a new RP or LP copy of an existing primary copy that is an Instant Snapshot, the new copy will be registered in SYSCOPY. For more information, see Registration-of-Instant-Snapshots.
You can use COPY IMAGECOPY to make copies of online consistent copies that are made by the Recovery Management for Db2 solution. For information, see COPY-IMAGECOPY-support-for-online-consistent-copies.
You should also use COPY IMAGECOPY to make copies of cabinet copies. BMC AMI Copy saves the volume information about cabinet copies in BMCXCOPY. This information is required to process a cabinet copy. If you copy a cabinet copy with a z/OS utility, the volume information is not available and BMC AMI Recover cannot use copy. For more information about cabinet copies, see Making-cabinet-copies.
The COPY IMAGECOPY command is invalid in the following conditions:
Copies of 'special case' table spaces
- DFSMS Concurrent copies
You cannot make a second copy of a type already registered. The type is recorded in the ICBACKUP column of the SYSIBM.SYSCOPY or BMCXCOPY table where:
- Blank is for local primary copies
- FC is for FlashCopy
- LB is for local backup copies
- RP is for RECOVERYSITE primary copies
- RB is for RECOVERYSITE backup copies
See Using-COPY-IMAGECOPY-to-make-duplicate-image-copies.
The following figure shows the syntax for the COPY IMAGECOPY command with defaults underscored.
When you use the COPY IMAGECOPY command in the SYSIN data set, the following rules apply:
- The first option you specify must be TABLESPACE, INDEXSPACE, INDEX, RMGROUP, RMGROUPIX, OBJECTSET, or APPLICATION.
- You can specify the other options in any order. However, if you specify COPYDSN or RECOVERYDSN, you must specify them after the corresponding COPYDDN or RECOVERYDDN options.
- The table space name, index space name, RMGROUP name, RMGROUPIX name, OBJECTSET name, or APPLICATION is required (explicitly or by wildcard).
- An asterisk in column 1 in the SYSIN data set specifies that the line is a comment that will not be echoed in the SYSPRINT output. A double hyphen (--) coded in columns 1 through 70 also makes the rest of the line a comment.
- You can specify the start RBA value of the image copy to be copied using either ATRBA or ATLOGPOINT. (These keywords are synonymous.)
COPY IMAGECOPY syntax diagrams
COPY IMAGECOPY command syntax
COPY IMAGECOPY command syntax
COPY IMAGECOPY command syntax
COPY IMAGECOPY object list syntax diagram
This section contains the following topic: