CA Ramis database BACKUP and RELOAD
search cancel

CA Ramis database BACKUP and RELOAD

book

Article ID: 111678

calendar_today

Updated On:

Products

Ramis Reporter

Issue/Introduction

How to BACKUP and RELOAD a CA Ramis database in z/OS?

Environment

z/OS

Resolution

To BACKUP a CA Ramis database, run a batch RAMIS job:                               
                                                                          
//BACKUP EXEC PGM=RAMIS                                                 
...                                                                     
//RAMBACKU DD DSN=backup.dataset,DISP=NEW... or SHR if preallocated                           
... where RAMBACKU is disk or tape with DCB of VB,7204,7208              
//database DD DSN=database.you.want.to.backup,DISP=SHR                  
//RAMSYSIN DD *                                                         
USE                                                                     
database                                                                
END                                                                     
BACKUP                                                                  
/*                                                                      
                                                                          
BACKUP gives message indicating how many database blocks were backed up: 
                                                                          
    DM0442:  Number of data blocks backed up=   nnnnn                     
                                                                          
To RELOAD a CA Ramis database from BACKUP, run a batch RELOAD job:                    
                                                                          
//RELOAD EXEC PGM=RAMIS,...     
...                                                                         
//RAMRELOA  DD DSN=backup.dataset,DISP=SHR                                  
//database  DD DSN=new.database.to.reload.into,DISP=NEW...or SHR if preallocated
 ... where database is a disk data set with DCB of FB,7200,7200
//RAMSYSIN  DD *                                                            
USE 1                                                                       
database                                                                    
END                                                                         
RELOAD                                                                      
/*                                                                          
                                                                                
RELOAD will show how many blocks were reloaded.
This number will be the same as the number of blocks backed up:                          
                                                                                
   DM0440:  Number of data blocks reloaded=  nnnnn                          
                                      

Additional Information

CA Ramis BACKUP and RELOAD are documented in the publication Utilities found in the CA Ramis Version 7.4 set of documentation at CA Ramis Bookshelves and PDFs.