I don't know about doing this in AJS but there's no reason you can't design
the CL so it can re-run from a designated sequence number.
Just add sequence as a parameter to the CL and then put a sequence tag
against the restores in the CL.
If no sequence is specified default the program to start from the beginning.
On Fri, Apr 25, 2014 at 1:55 PM, Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>wrote:
I have several scheduled jobs that perform 20 RSTLIBBRM with Save level .
. . . . . . . . . . > *CURRENT
90 RSTLIBBRM SAVLIB(BRCPGMS1) DEV(TAPMLB01) SAVLVL(*CURRENT)
100 RSTLIBBRM SAVLIB(BRCPGMS) DEV(TAPMLB01) SAVLVL(*CURRENT)
110 RSTLIBBRM SAVLIB(BRCPGMSN) DEV(TAPMLB01) SAVLVL(*CURRENT)
95% of the time, Save level *Current is ok.
There are times when Save level needs to be changed to SAVDATE followed by
Cumbersome to change every sequence.
I would like to change the RSTLIBBRM, make save level a variable, load it
once in the beginning of the job.
Is this possible within AJS?
I know it is possible if I put all the RSTLIBBRM in a CL.
Not the preferred solution.
If the job ever fails, the convenience of being able to restart the job a
specified sequence is a requirement.
If not is there another solution?
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives