TCU Nightly Job (Notices and File Cleanup)
Kerry Bouchard, last revised 2/24/97
Explanation:
The .COM files below illustrate one way to handle DRA nightly notice
processing and temp file clean up. Most older sites already have a job that
does this. If you are a new site that has not yet developed a nightly job,
you are welcome to download these, but be forewarned that they will require
extensive editing.
-
LIB$NIGHTLY.COM
-- This is the "master" job that runs at 3am every morning. It is the oldest
piece of DCL programming on our system, and is not an inspired example of
intelligible DCL.
-
LIB$NITE.COM
-- This job calculates several date variables, and then submites the DRA
nitghtly notice and request jobs. It is called from LIB$NIGHTLY.COM
-
LIB$AJCL.COM
-- This is called by LIB$NITE.COM; it takes the LIB$SMNT.SKL file as input,
and outputs a LIB$SMNT.COM file in which all the date parameter symbols are
replaced by "hard-coded" strings.
-
LIB$SMNT.SKL
-- This is a .COM file to run the nightly notices. Every place the DRA programs
need a date parameter, there is a symbol in this file. LIB$NITE.COM defines
the symbols, and LIB$AJCL.COM uses LIB$SMNT.SKL as input to create an "on-the-fly"
.COM file in which the symbols are replaced by the appropriate dates for
that night's run. This is the .COM file that submits the
LIB$BUILD_PASSWORD_FILES job referenced in
CGI Scripts for Access to Commercial Web Servers that
Require Name-Password and/or IP Address Access
Authentication. There is no good reason to submit that job
from here; it's just what one of our programmers did 7 years ago.
-###-