CA View Move Reports in an Active Database to New Media

Document ID : KB000045459
Last Modified Date : 15/02/2019
Show Technical Document Details
Introduction:

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

Instructions:

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 Running Sarpac in our online View 14.0 documentation.