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.
Release : 12.5
Component : CA Disk Backup and Restore
To release the outstanding ENQs recycle the Vantage address space.