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 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 KILL command as lost resort only , if STOP or CANCEL or FORCE did not work for any reason.
To release the outstanding ENQs recycle the Vantage address space.