Using the SET2PURG function to purge history records for jobs that no longer run
search cancel

Using the SET2PURG function to purge history records for jobs that no longer run

book

Article ID: 38218

calendar_today

Updated On:

Products

CA-11

Issue/Introduction

Summary: 

History records for the CA 11 JHF601 are retained via the mutually inclusive installation options of MAXDAY and MINCNT.  The following run of a MANT cycle checks the MAXDAY and MINCNT for each job to determine if there are history records to be purged.   If a job's history retention is not met during a MANT run, the JHF601 potentially grows in size. 

The SET2PURG function is useful in purging history records for job that no longer run, causing their records to be retained.  This option is not designed to perform normal maintenance of the JHF601.  Once the SET2PURG indicator has been set to ‘YES’, the following run of a MANT cycle deletes the history record for that job. 

 

Instructions:

To change the SET2PURG flag online, select the JUPD function from the CA 11/ISPF menu.  Next, choose REP DATA: SET2PURG and mark the Control RECORD TYPE:C  This flag is found only in the Control record.  See example below:

 OPTION  ===>                                                      SCROLL- PAGE

     Jobname   : MYJOBA       Record Type : C        Profile  :            

     PROD Date :              RRUN Date   :          Remote:                  

     PROD Time :              RRUN Time   :                                   

     Rep Data  : SET2PURG=YES             

                                               

To change the SET2PURG flag for multiple jobs in batch, use the U11OBD program as shown below:

//STEP1    EXEC PGM=U11OBD,PARM='(profile)'                       

//STEPLIB  DD    DISP=SHR,DSN=CA11.CAL7LOAD                 

//RMSRPT   DD  SYSOUT=*                                          

//SYSUDUMP DD  SYSOUT=*                                          

//SYSIN    DD  *                                                 

JUPD MYJOBA,RECORD=C                                             

REP SET2PURG=YES                                                  

U                                                                

CANCEL                                                           

JUPD MYJOBB,RECORD=C                                            

REP SET2PURG=YES                                                  

U       

CANCEL                                                           

JUPD MYJOBC,RECORD=C                                            

REP SET2PURG=YES                                                 

U                                                         

CANCEL                                                           

END                                                              

*/              

 

Additional Information:

For further information about the SET2PURG option and setting the global retention of MAXDAY and MINCNT, please refer to the following product manual: 

CA Workload Automation Restart Option for z/OS Schedulers User Guide   (Chapter 4)

 

 

As always, please contact CA Technologies support for CA 11 if you have further questions.

 

 

Environment

Release: ELEVEN00200-11-Workload Automation-Restart Option-for Z/OS Schedulers
Component: