ADR492E
(ttt)-mmmmm(yy), ERROR OCCURRED DURING COPY OF CATALOG catalog_name, RC-reason_code. [EXPORT DATA SET dsname IS ON VOLUME volume_serial_number]

Explanation

The catalog was being moved using access method services EXPORT or IMPORT when IDCAMS errors occurred. Corrective action be required to restore the source catalog to a usable condition. The reason code (reason_code) describes the error as follows:
01
An error occurred when the catalog was exported to a temporary sequential data set. The COPY is discontinued, and the source catalog remains in usable condition. For this reason code, the second portion of the message is not printed.
02
A failure occurred when the target catalog was imported. The source catalog was deleted and must be recovered by the user.

System action

Processing continues with the next COPY. The return code is 8.

Operator response

None.

Programmer response

Ensure that the DFSMSdss parameter option UTILMSG=YES is specified when running jobs that perform catalog moves. All reason codes are accompanied by IDCAMS messages that clarify the remedial actions necessary.

Take the following actions, depending on the reason code:
01
Use the IDCAMS messages as a guide in correcting the error. Rerun the job.
02
Restore the source catalog before attempting to rerun the job. If the catalog was backed up before the COPY was attempted, the backup can be used to restore the catalog. Otherwise, the catalog can be restored by importing the catalog from the export data set described in the message. Delete the export data set described in the message before rerunning the job.

Source

DFSMSdss