Difference between revisions of "Information Systems:EODBUTEMP"
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
This is called by [[EOD]]. |
This is called by [[EOD]]. |
||
| − | /* Hold BRMS maintenance report so it doesn't print. */ |
+ | /* Hold BRMS maintenance report so it doesn't print. */ |
OVRPRTF FILE(QP1AEP) HOLD(*YES) |
OVRPRTF FILE(QP1AEP) HOLD(*YES) |
||
Revision as of 10:17, 9 February 2016
This does a 'temporary' backup of the production data libraries, on tape '999999' which is reused every day. It can be used to restore files if something goes terribly wrong in the overnight processing, reload a file if something happens to it the next day (we have had users accidentally do mass deletes), or to rebuild the test environment (PL).
We used to do the regular backup at this point instead of after all the overnight processing. Then we discovered (during a year end audit) that transactions for the day had not updated G/L, A/R. etc on the tape.
This is called by EOD.
/* Hold BRMS maintenance report so it doesn't print. */
OVRPRTF FILE(QP1AEP) HOLD(*YES)
/* Call BRMS Maintenance to expire tape '999999'. It has a one day */
/* retention, but still must be expired before it can be used again. */
/* Note that this temporary backup won't work if it runs before midnight.*/
STRMNTBRM RMVLOGE(*NONE) RUNCLNUP(*NO) RTVVOLSTAT(*NO) +
CHGJRN(*NO) PRTEXPMED(*NO) PRTVSNRPT(*NO) +
PRTBKUACT(*NO) PRTRCYRPT(*NONE)
/* Delete BRMS maintenance report */
DLTSPLF FILE(QP1AEP) SPLNBR(*LAST)
/* Run BRMS control group UNITEMP, which will save user data files only. */
STRBKUBRM CTLGRP(UNITEMP) SBMJOB(*NO)