Running a restore function

With the CRUISE restore function, you can restore data from tape for database recovery.

Before you begin

To run a CRUISE restore function, ensure that a parameter table with appropriate values is set up.

Procedure

  1. Enter the ZTMNT command to mount the tape that the data is restored from.
    The following example shows that the BFA tape is mounted for this restore function.
    User:   ZTMNT BFA 421 AI
    
    System: CSMP0097I 16.24.25 CPU-B SS-BSS  SSU-HPN  IS-01
            COTM0310I 16.24.25 TMNT HPN    TAPE BFA MOUNTED ON DEVICE 0421
                     VSN A00108 G     S0001 F38K    SL NOBLK            0 NOCOMP NOENC
  2. Enter the ZFCRU START command to verify and display the parameter table values.
    In the following example, the values in parameter table TABLE1 are verified and displayed.
    User:   ZFCRU START-TABLE1
    
    System: FCRU0149I 05.25.06 CPUB TABLE -TABLE1- ACTIVATED
            FCRU0000I 05.25.06 PARAMETER TABLE DISPLAY FOR TABLE1
              FUNCTION                   RST                      
              USABLE ECB START VALUE     10 PCT                   
              I-STREAM AFFINITY          BALANCE                  
              TAPE NAME                  BFA                      
              SET POOL ADDRESSES IN USE  NO                     
              BUILD STATISTICS           YES                      
              NUMBER OF PRINT MESSAGES   ALL                      
              NUMBER OF LOG MESSAGES     ALL                      
              RESTORE OPTION             REBUILD/NORELEASE/NOFIXDIRECT        
              SSU NAMES                  CURRENT                  
              INCLUDE SSU COMMON FILES   YES                      
              RESTORE TO ORIGINATING SSU YES                      
              MESSAGE AFTER EVERY ID     NO                       
              AUTOMATIC PAUSE            NO                     
            FCRU0000I 05.25.06 REPEAT ENTRY TO START CRUISE
    
    If the parameter table values pass verification, the parameter table is in active state.
  3. If the parameter table values pass verification, enter the ZFCRU START command again to start the restore function.
    In the following example, the restore function is started for TABLE1.
    User:   ZFCRU START-TABLE1
    
    System: FCRU0100I 05.25.22 CPUB TABLE -TABLE1-                        
                               FUNCTION-RST STARTED                     
            FCRU0164I 05.25.24 CPUB INITIALIZATION                        
                               OF X-REF FILES STARTED                    
            FCRU0165I 05.25.25 CPUB INITIALIZATION                        
                               OF X-REF FILES COMPLETED                 
            FCRU0116I 05.25.25 CPUB 0000000059 RECORDS READ FROM TAPE BFA 
                               0000000059 RECORDS SELECTED                
                               0000000059 RECORDS RESTORED                
                               0000000000 ERRORS DETECTED                
            FCRU0117I 05.25.25 CPUB FILE ADDRESS EXCHANGE                 
                               0000000033 FROM REFERENCES PROCESSED       
                               0000000033 ADDRESSES EXCHANGED             
                               0000000026 FIX FILES RESTORED              
                               0000000000 ERRORS DETECTED                
            FCRU0132I 05.25.25 CPUB TABLE -TABLE1-                          
                               FUNCTION-RST COMPLETED                       
                               0000000000 ERRORS DETECTED                  
            COTC0087A 05.25.25 TCLS HPN    REMOVE BFA FROM DEVICE 0421      
                     VSN A00099 NOBLK          120        NOENC  
    The parameter table is in running state during CRUISE restore processing. When CRUISE restore processing is completed, the state changes to inactive or warning.

What to do next

If the REBUILD option was specified for restore processing, ensure that you pack the restored subfiles to improve system performance and avoid CRUISE backward chain validation errors. The pack operation also rebuilds indexes for files that use B+Tree and block indexing.