I will be moving my backup AS/400 to a secure building for D.R. purposes. I need to figure out a way to automatically get a savsys done without doing it from the console. We are on V5R3. Right now I have a cl setup with all of the save commands but when the endsbs *all *immed (with batch limit of 120 minutes) runs I get the message CPF1052 endsbs *all not allowed in current environment. I have the job running in the controlling subsystem QCTL. Anyone? Thanks, Tammy
Software/Hardware used:
ASKED:
December 7, 2006 4:04 PM
UPDATED:
December 29, 2009 4:57 PM
We just went thru this… look in this manual from IBM starting on page 118 – Console Monitoring.
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c4153453.pdf
this alows automation of savsys
Martin
If you have BRMS and OS400 V5R3 the option 21 save can be submitted as batch job. It works better if you have tape library.
STRBKUBRM CTLGRP(FULLSAVE) SBMJOB(*CTLSBS) +
RETENTION(*DAYS 90)
Actually, as of V5R3, you can run a SAVSYS in batch as long as you put together a CL program and the job is submitted to jobq QCTL.
The CL should contain:
The BCHTIMLMT is the amount of time, in minutes, used to bring the system “back to life” in case there is a problem.
You can then add a SAVSYS and any other save commands you like.
Ian
Tammys,
I have Full System Backup running thru the Job Scheduler. Would be willing to share the code if you send me an email; wpoulin@rev.state.nh.us.
Bill