The new architecture of the CMT and JEHF files using CA-Datacom/AD in release 3.0 of Unicenter CA-11 Restart and Tracking eliminates the need to regularly schedule a maintenance window for compressing the CMT and for reorganizing the JEHF, which in previous releases required that DBAS be shut down.
The MANT task, an automated function within the Unicenter CA-11 DBAS started task, uses user defined criteria to perform maintenance. This maintenance was previously handled by batch utilities, U11UTI to purge the JEHF information to tape and U11D9015 to delete old CMT members. The MANT task now interfaces with CA-Datacom/AD for the purpose of purging old records, purging unused jobs or purging both.
The MANT TASK is driven by several parameters in the CONFIG file. These parameters are as follows:
|MAINTAGE:||Specifies the number of days used to compare against a CMT job's last accessed date to determine if a job should be deleted. The default is zero which means do not delete any jobs.|
|MAINTTME:||Specifies the number of days between maintenance cycles. Values can range from 0 to 248. The default is 5.|
|MAINTRQS:||Specifies the number of concurrent DBAS request used to determine if DBAS is to busy to perform maintenance on another job element. The maximum number of initiators is recommended as a starting value. The default is 1000.|
|MAINTTMP:||This is the number of days used to compare against a TEMP JOB element's last accessed date to determine if TEMP JOB element should be deleted. The default is zero which means delete a TEMP JOB element immediately. To use this feature requires that user exit U11TMPEX be used to select with jobs are TEMP JOBs.|
The Unicenter CA-11 Options Table values for history cleanup are also used.
|MAXDAYS:||The maximum number of days that a history production record (and associated reruns) should be kept.|
|MINCNT:||The minimum number of history production records (and associated reruns) to keep for a job, even if MAXDAYS is exceeded.|
A record is purged from the CMT once the MAINTAGE value has been reached. This is the equivalent of DAYS=nnn for the U11D9015 program in the prior release which indicated the point at which a member would be deleted from the CMT.
A record is purged from the JEHF once the MAXDAY option and MINCNT option values are reached. SET2PURG flag may be set to YES in JEHF records whenever there is a desire to purge JEHF records that have not yet reached the MAXDAY and MINCNT values. Any JEHF record with this flag set to YES will be deleted during the next maintenance cycle.
The way this whole process starts is the MANT task automatically kicks off when DBAS is started. This task then wakes up when the MAINTTME value is reached. The MANT task only needs to run on one LPAR even if several LPARS share the CMT and JEHF. The MANT task should run where the CA-Datacom/AD Multi-user Facility (MUF) resides. All other LPARS should have a MAINTTME value of 0.
To run the MANT task at will, set MAINTTME to 0 and issue "comchar START MANT" operator command. This allows the MANT task to attach and run immediately. Once completed the MANT task will detach.
Moving the CMT and JEHF into CA-Datacom/AD at release 3.0 of Unicenter CA-11 has enabled the end user to perform the maintenance process without having to schedule any type of outage, thus increasing system availability.