Difference between revisions of "Information Systems:EODBU"
Jump to navigation
Jump to search
(Created page with " →send email that full backup is starting; pause to let it complete: ...") |
|||
| Line 8: | Line 8: | ||
/* End Domino and Gauss; pause to let it complete */ |
/* End Domino and Gauss; pause to let it complete */ |
||
| − | CALL PGM(EODEND3) |
+ | CALL PGM([[EODEND3]]) |
DLYJOB DLY(180) |
DLYJOB DLY(180) |
||
Revision as of 12:57, 9 February 2016
/* send email that full backup is starting; pause to let it complete */
CHGVAR VAR(&SMSG) VALUE('Full backup is starting')
CHGVAR VAR(&LMSG) VALUE(&SMSG)
CALL PGM(OPMSGSEND) PARM(&SMSG &LMSG)
DLYJOB DLY(180)
/* End Domino and Gauss; pause to let it complete */
CALL PGM(EODEND3)
DLYJOB DLY(180)
/* If the first of the month, backup to a permanent period end tape. */
/* Otherwise backup to the next available tape in the 42 tape cycle. */
RTVSYSVAL SYSVAL(QDAY) RTNVAR(&DAY)
IF COND(&DAY = '01') THEN(STRBKUBRM +
CTLGRP(UNIMONTHLY) SBMJOB(*NO))
ELSE CMD(STRBKUBRM CTLGRP(UNIDAILY) SBMJOB(*NO))