IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Unable to restore a GDG dump


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yuvrajdutta

New User


Joined: 13 Jul 2009
Posts: 40
Location: India

PostPosted: Wed Oct 07, 2009 1:03 pm
Reply with quote

Hello Guys... phewwwww.... at last i managed to recreate the GDGs on the remote system.

i used the following inputs to the program

Code:

//SYSIN    DD *                                             
  RESTORE                                                  -
  CATALOG                                                  -
    DATASET(                                               -
      INCLUDE(**)                                          -
    )                                                      -
    INDDNAME(DD0)                                          -
    RENAMEUNC(                                             -
    (I051029.JAGA.TEST.GDGBASE.*,                          -
     I051029.JAGA.TEST2.GDGBASE.*)                         -
             )                                             -
    REPLACEUNC                                             -
    TGTGDS(ACTIVE)                                         
/*                                                         


Seems like without a rename the GDG's wont get created.

Also i noticed something very peculiar.

Initially i had restored the GDG's w.r.t. the base I051029.JAGA.TEST1.GDGBASE it ran fine.

Then i deleted the base and tried to restore, it failed as the base was missing.
Code:

//IDCAMS01 EXEC  PGM=IDCAMS,REGION=768K 
//SYSPRINT DD    SYSOUT=*               
//SYSIN    DD    *                       
      DELETE 'I051029.JAGA.TEST1.GDGBASE'


But then i recreated the base again and tried to restore but nothing got restored though the RC returned was 0.
Code:

//DOITNOWW EXEC  PGM=IDCAMS                 
//SYSPRINT DD  SYSOUT=*                     
//SYSIN    DD  *                           
  DEFINE GENERATIONDATAGROUP  -             
         (NAME(I051029.JAGA.TEST1.GDGBASE) -
         NOEMPTY  -                         
         NOSCRATCH  -                       
         LIMIT(30))                         
/*                                         


Can you'll please shed some light as to what may have happened w.r.t. the above scenario and moreover why should i always rename while restoring w.r.t. the scenario at the beginning??

Thanks a lot for your patience guys icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts Infosphere Optim - unable to save Col... IBM Tools 0
No new posts DFHCSDUP EXTRACT unable to open outpu... CICS 5
No new posts Unable to connect FTP over TLS from z... All Other Mainframe Topics 5
No new posts Restore CSD? CICS 1
No new posts Unable to retrieve Datasets Names usi... CLIST & REXX 20
Search our Forums:

Back to Top