Report that shows expiration date of Archived jobs in View
search cancel

Report that shows expiration date of Archived jobs in View

book

Article ID: 391530

calendar_today

Updated On:

Products

OM View

Issue/Introduction

Using ERO retention for archived reports by setting the following SARINIT options :- 


EROOPT=YES          
EROPRO=YES          
POPT=A              
PRETAIN=TABLE  

Updated the ERO table referenced by the SARPATAB in the VIEW STC procedure 

Is there a report available that will display the expiration date of the Archived Reports now under ERO control ? 

Resolution

There is no specific report that will list out an expiration date of a report based on its ERO retention ,however SARGRW can be used to list information about a Reports retention period based on its ERO value 

Here is an example : - 

000023 /CONTROL DATABASE= your VIEW db hlq  
000024          RULER=YES                       
000025 /TITLE 'Listing of Sysout retention'     
000026 /                                        
000027 /SORT ARCHDATE-D                         
000028 /   PRINT ID       'ID'                  
000029 /   PRINT EDIT(GEN,'ZZZZ9') '  GEN'      
000030 /   PRINT EDIT(SEQ,'ZZZZ9') '  SEQ'      
000031 /   PRINT ARCHDATE 'ARCH DATE'           
000032 /   PRINT DRETPD   'DISK DAYS'           
000033 /   PRINT TRETPD   'TAPE DAYS'           
000034 /   PRINT TGENS    'Remain TGEN'         
000035 /   PRINT DGENS    'Remain DGEN'         
000036 /   PRINT EROID    'ERO ID'              
000037 /   END                                  
000038 /END