I cancelled a VM:Schedule request by mistake. Is there a way to get it back and undo the cancel?
Once the CANCEL has been issued against a request and before the PURGE period has passed, you can remove the CANCEL flag so it will not be purged at the end of the PURGE period. To do this, either issue the CHANGE command against the request changing something about the request, or, do so going through the VM:Schedule menus. CHANGE can be used to nullify a CANCEL command issued against a request.
The request can also be changed going through the VM:Schedule menus; bring up the request through CHANGE and *file* it using PF11.
If the PURGE period has already passed and if you have a backup of the VMSCHED IRBDB file from VMSCHED's 1B0, you can get the database record for that request from the backup. Then append it to the current VMSCHED IRBDB file. VM:Schedule will need to be recycled to pick up the appended request. Depending on when the backup was taken, VM:Schedule may have to skip through a few iterations of the request before it catches up to it's current run time.