How to Move Reports, in an Active CA View Database, to New Media

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

Introduction:

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

 

Instructions:

. 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 bunches of 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.