Ask the Expert

Automate the process of full-system backup

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?

    Requires Free Membership to View

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?


This was first published in June 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: