CA View Move Reports in an Active Database to New Media
search cancel

CA View Move Reports in an Active Database to New Media

book

Article ID: 45459

calendar_today

Updated On:

Products

Deliver View

Issue/Introduction

How to Move Reports that are in an Active CA View Database to New Media using SARPAC. 



Environment

View, Deliver

Resolution

For an active database, when it becomes necessary to move all reports to new media, the report movement should only be done using SARPAC.



  • Run SARINIT, to establish the new media: 

In STORGRPn=.../.../nnnnn/unit-p,unit-d/, --- set the Units to use the esoteric for the new tape system 

 

  • Recycle SARSTC, for parm change implementation.

Note: At the next View backup, reports will automatically be written to a new tape from the new media.

 

  •  Run a SARPAC REPORT to identify the tapes to be moved to new media:

//XXXXXXXX JOB ...
//SARPAC   EXEC PGM=SARPAC,PARM='view_hlq,REPORT'    <=== Modify DB name
//STEPLIB  DD  DISP=SHR,DSN=VIEW.CVDELOAD                   <=== Modify, if used
//SYSPRINT DD  SYSOUT=*                                   
//SYSUDUMP DD  SYSOUT=*                                   
//SYSIN    DD  DUMMY
//                    



  • Run SARPACs, with multiple tapes, with TAPESEQ=nnnnn-nnnnn (from view_hlq.SARTAPE.T00nnnnn),  to move all active reports to new tapes:                                   

//XXXXXXXX JOB ...
//SARPAC   EXEC PGM=SARPAC,PARM='view_hlq'           <=== Modify DB name
//STEPLIB  DD  DISP=SHR,DSN=VIEW.CVDELOAD            <=== Modify, if used
//SYSPRINT DD  SYSOUT=*                                   
//SYSUDUMP DD  SYSOUT=*                                   
//SYSIN    DD  *                                          
TAPESEQ=nnnnn-nnnnn                                       
/*                                                        
//

* At the next View backup, the tapes from the old media will be expired.

 

Additional Information

See Run SARPAC in our online View 14.0 documentation.