I am trying to restore a database and want to make sure I have all the pieces and parts.
The SDSF hold queue had a run of a restore that ran clean.
I did a sj to get the original JCL. Now I am trying to verify the JCL work again.
I am getting this error:
ERROR-136, RESTORE DATABASE ONLINE NOT PERMITTED
What do I need to do to take the database off line?
Could it be that the backup file was used once and the restore was clean that the Database is smart enough that I don’t need to do another restore?
Sorry for being late to reply, just one thing to add then - there are user exits (UEX2 for dual logs and UEX12 for multi-logs) to automatically submit the log save/switch JCL.