I have to change the retention period of a particular job log (ABCDEF*) from 18 weeks to 53 weeks.
What is the basis that the ABCDEF* logs are retained for 18 weeks currently?
How can I change the retention period for ABCDEF* logs?
Release : 14.0
Component :
The determination for retention of a report (or log) is made only by the client themselves.
Usually, the length of retention has to do with auditing requirements.
Retention is done using the following:
. . SARINIT NGEND, NGENT
. . View ERO (SARSTC //SARPATAB): GENS/DGENS or RETPD/DRETPD or COPIES/DCOPIES
The ERO table, if used, can be found in the View SARSTC task, in the //SARPATAB DD statement.
The client had the following in their SARINIT parameters:
. . DAYS=YYYYYNN
. . NGENT=00090
As a View "generation" is the running of a View standard backup:
. . The DAYS shows that a View standard backupis run 5 times a week.
. . With the NGENT value of 90, 90 View backups would take place in 18 weeks time.
. . As the retention on the ABCDEF* reports is based on the generic NGENT=00090, to raise the retention to meet 53 weeks, that would be NGENT=00265.
With SARINIT setting of PRETAIN=INIT, that means that View will also use NGEND/NGENT in addition to the ERO table, in determining retention.
It was suggested that the client:
. Add an ABCDEF* entry to their ERO table, with DRETPD=5 and RETPD=371, for the 53 weeks (53 x 7 = 371 days).
. Change, in SARINIT, to EROPRO=ALL (from EROPRO=NEW).
. Run a View backup.