Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 25 Sep 2012 @ 16:04:18 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Rolforward to checkpoint from a Journal
 
From:   Bakthavachalam, Roopalini

Thanks for the clarification. I understood what you are saying. So , if I have different checkpoints ( different for each day each week) and archive my backup in the same file (use file = INCBKP everytime, but have different checkpoints), without deleting the journal. Then, Is there a way to rollforward the data using current journal ( since I am not purging the data in my saved journal) to a particular Checkpoint ?

I apologize, if I have not understood it more clearly. Below is the script that I am running which runs totally fine without any errors, however I don't see the data.

My Back up Script

     LOGON  DBC/DBC,"PASSWORD";
     CHECKPOINT (PJ_INCREMENTAL.JOURNALTBL), WITH SAVE, NAMED CHKMON; ARCHIVE JOURNAL TABLE
     (PJ_INCREMENTAL.JOURNALTBL), RELEASE LOCK, FILE = INCBKP; LOGOFF;

My Restore script

     LOGON 10.21.45.67/DBC , " PASSWORD";
     RESTORE JOURNAL TABLE (PJ_INCREMENTAL.HOURNALTBL), RELEASE LOCK, FILE = INCBKP;

     ROLL FORWARD TABLE (ARC_EXERCISE.ACTIVITY_INC), TO CHKMON, RELEASE LOCK, USE RESTORED
     JOURNAL;

     LOGOFF;

Thanks

Roopalini



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 23 Jun 2019