Error Message
ADSDM069*0013 ...dsname-to-be-restored... NOT RESTORED - ALLOCATED TO ANOTHER TASK
trying to RESTORE an archived dataset.
How to debug and bypass this error?
Release : All
Component : DISK BACKUP AND RESTORE
The CA DISK Message Guide explanation for this Error Code is the following:
...
0013
(ddd) NOT RESTORED: ALLOCATED TO ANOTHER TASK
Reason:
The data set was not restored because an exclusive enqueue for the data set was attempted and failed).
...
In order to correctly perform the RESTORE, CA DISK needs an Exclusive ENQ for the data set to operate in the correct way and provide valid data. That said, setting the SYSPARM USERSENQDMSNOENQ, DISK should be able to restore the data set although there is an outstanding ENQ. However, this could have probably a negative impact on the data integrity.
So the suggestion is to issue a D GRS command against the involved data set to catch the owner of the outstanding ENQ and operate on that side to release it and allow the RESTORE to be performed.