DMS2974 DSN CURRENTLY BEING RESTORED BY ANOTHER TASK

book

Article ID: 140141

calendar_today

Updated On:

Products

CA Disk Backup and Restore - MVS CA DISK BACKUP AND RESTORE- ADD-ON OPTIO CA DISK BACKUP AND RESTORE

Issue/Introduction

Because of VSM problems DMSAR tasks had been killed useing the MAINVIEW KILL command. After the VSM was again up and running attempts to restore these data sets fail with message:
DMS2974 DSN CURRENTLY BEING RESTORED BY ANOTHER TASK
 

Cause

DMS2974 DSN CURRENTLY BEING RESTORED BY ANOTHER TASK is issued if there is a DMSAUTx ENQ for the data set being restored.

D GRS,RES=(DMSAUT*,*) showed, that the Vantage Address space had an outstanding ENQ for Major Name DMSAUT2 and MInor Name of the Data set being restored.

Don't use MAINVIEW KILL command as recovery routines don't get control and thus outstanding ENQs are not released.

If an active DMSAR needs to be stopped try STOP, CANCEL or FORCE with ARM in that order. Using these commands should not result in outstanding ENQs.

Use MAIVIEW KILL command as lost resort only , if STOP or CANCEL or FORCE did not work for any reason.

Environment

Release : 12.5

Component : CA Disk Backup and Restore

Resolution

To release the outstanding ENQs recycle the Vantage address space.