View - Database Migration
search cancel

View - Database Migration

book

Article ID: 265808

calendar_today

Updated On:

Products

View

Issue/Introduction

Need some guidance and recommended JCL to move a CA-View database (and backup tapes) from one JESPLEX to another. 

The new JESPLEX is in a different location with different DASD and TAPE volsers.

Environment

Release : 14.0

Resolution

As all elements of the migration needed to be on a tape image, the suggested procedure would be as follows:

 . Shut down all tasks that affect the View database, including any online functions
   and if there are any direct-writes being done via the Deliver RMOSTC task. 

 . Run SARDBASE UNLOAD, unloading the database to a tape: 

//XXXXXXXX JOB ...                                                
//SARDBASE EXEC PGM=SARDBASE,PARM='VIEW_HLQ'  <=== MODIFY DB NAME 
//STEPLIB  DD  DISP=SHR,DSN=VIEW.CVDELOAD     <=== MODIFY, IF USED
//SYSPRINT DD  SYSOUT=*                                           
//SARUNLD  DD  DISP=(,CATLG,DELETE),                              
//             DSN=XXXXXX.XXXXXX.SARUNLD,                         
//             DCB=(RECFM=VB,LRECL=32756,BLKSIZE=32760),          
//             UNIT=XXXX,LABEL=(,,,,EXPDT=99000)
//SYSIN    DD *                                                   
UNLOAD                                                            
/*                                                                
//                                                                

 . Run SARTCP COPY, with PARM='COPYASIS', on the affected View tapes:

//XXXXXXXX JOB ...                                                     
//SARTCP   EXEC PGM=SARTCP,PARM='COPYASIS'                                             
//STEPLIB  DD  DISP=SHR,DSN=VIEW.CVDELOAD     <=== MODIFY, IF USED     
//SYSPRINT DD  SYSOUT=*                                                
//TAPEIN   DD  DISP=OLD,DSN=VIEW_HLQ.SARTAPE.T00NNNNN                  
//TAPEOUT  DD  DISP=(,CATLG),                                          
//             DSN=DSN=VIEW_HLQ.SARTAPE.T00NNNNN,                      
//             UNIT=(3490,,DEFER),VOL=(,RETAIN),LABEL=(,SL,EXPDT=99000)
//SYSIN    DD  DUMMY                                                   
//