A report has expired from a View database, but the report is still on a View tape. Can the report be recovered?

Document ID : KB000027366
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

Is it possible to recover a report that has expired from a View database, where the report is still on a View tape?

 

Answer:

Use the SARTDR /TADD function to re-add specific reports, generations, or resource groups from an archival tape that has expired from a View database.

The function will add the sysout(s) back to the View master index. After the function has completed, the sysout should be selected with "L" (Load) to have it put to disk.

Note: At the next View standard backup, the sysout will expire again unless there has been an adjustment to either the View SARINIT retention parameters (NGEND, NGENT), or to the sysout's corresponding entry in the ERO table.

Below is sample JCL:

//XXXXXXXX JOB ... 
//STEP1 EXEC PGM=SARTDR,PARM='view_hlq' 
//STEPLIB DD  DISP=SHR,DSN=VIEW.CVDELOAD 
//SYSPRINT DD SYSOUT=* 
//TAPEINP DD  DISP=SHR,DSN=VIEW.HLQ.SARTAPE.T00nnnnn,
// VOL=SER=nnnnnn,UNIT=xxxx 
//SYSIN DD  * 
/TADD DDNAME=TAPEINP
 ID=(sysout-id,...)
 GEN=(gen,...)
 RESOURCE=(name,...)
 UNIT=xxxxxxxx
 STORGRP=xxxxxxxx 
/* 
//

 

Additional Information:

Please consult the CA View Reference Guide for further information.