Can a GO SAVE 21 be automated via a CL?
Yes, if the CL is run interactively from the console in a restrictive state.
Save Option 21 does the following:
ENDSBS SBS(*ALL) OPTION(*IMMED) SAVSYS
SAVLIB LIB(*NONSYS) ACCPTH(*YES)
SAVDLO DLO(*ALL) FLR(*ANY)
SAV OBJ(('/*') ('/QSYS.LIB' *OMIT)
('/QDLS' *OMIT) UPDHST(*YES)
The SAVSYS command can only run interactively from the system console in a restrictive (ENDSBS *ALL) state. This is the same restriction for the SAVLIB LIN(*NONSYS) command.
You won't be able to run this CL as a batch job.
MORE INFORMATION ON THIS TOPIC
Ask the Experts yourself: Our backup & recovery gurus are waiting to answer your questions.
Search400.com's targeted search engine: Get relevant information on backup & recovery.
Check out this Search400.com Featured Topic on 30 backup/recovery tips in 30 minutes .
Dig Deeper on Data backup, storage and retrieval on iSeries
Related Q&A from Ken Graap
Find out if log files can be omitted during a save without causing problems in a full restore. Continue Reading
The BRMS Network feature allows a BRMS system to connect to other BRMS systems via a network, and enables a user to consolidate media such as backup ... Continue Reading
The only option to correct damage preventing file journaling is to use the RCLSTG command. Continue Reading