I am trying to automate the process of full-system backup. We have a Magstar unit with only one drive. I am finding out what to use an API to know if we have some "message waiting jobs", to be able to submit the job, but, besides, we need to work in a restricted situation, Is possible to submit the job under the QCTL subsystem?
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
You need to run you backup in a restrictive state because you are probably running a SAVSYS or a SAVLIB LIB(*NONSYS) command. These processes can only be run from the system console while the system is in a restricted state. They can't be submitted to batch in the QCTL subsystem.
The BRMS/400 product -- along with a few other 3rd party backup packages -- have a feature where the SAVSYS process can be run unattended. It still requires that it be run from the system console in a restrictive state. The bottom line is you can't submit a process to subsystem QCTL while the system is in a restrictive state.
Maybe someday IBM will redesign the IPL process to allow the SAVSYS process to run during an IPL. Wouldn't it be nice if you could do something like this:
PWRDWNSYS OPTION(*IMMED) RESTART(*YES) SAVSYS(*YES) SAVEXIT(Exit_Pgm1)
The system would be powered down, restarted, perform a system save while in a restrictive state and then run an exit program that would either restart the system or continue the backup process.... Well, we can dream, can't we?
Dig Deeper on Backup and recovery software
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.