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

VSAM Backup and restore


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

New User


Joined: 13 Aug 2010
Posts: 3
Location: bangalore

PostPosted: Mon Sep 10, 2012 6:02 am
Reply with quote

I have a requirement of backing up my vsam's to a tape and thn restoring them.The backup has been done using GVEXPORT to a tape file.There are around 10 VSAMS' that are backed up in this tape.
Question:How do I restore this multiple VSAM'S starting with the same qualifier X01.* from the tape using ADRDSSU.
What should be the options I must specify?
Thanks,
Backup JCL:

Code:
//******************************************************************
//UCC      EXEC UCC11RMS,TYPRUN='F'                                 
//******************************************************************
//STEP010  EXEC  PGM=GVEXPORT,COND=(0,NE)                           
//SYSABEND DD SYSOUT=*                                             
//SYSOUT   DD SYSOUT=*                                             
//SYSPRINT DD SYSOUT=*                                             
//SNAPDD   DD SYSOUT=*                                             
//FVROUT0  DD DSN=X01N.MYBKUP,                           
//            DISP=(,CATLG,DELETE),                                 
//            UNIT=AUTO,LABEL=RETPD=002                             
//SYSIN    DD *                                                     
EXPORT EXO                                                         
CLUSTER                                                             
CL=XO1V.SAMPLE.FEE                                               
CL=XO1V.SAMPLE.CITY                                             
/*


RESTORE JCL:
Code:
//STY0010 EXEC UCC11RMS,                     
//             TYPRUN=P                       
//*                                           
//STY0020    EXEC PGM=ADRDSSU,               
//            REGION=4096K                     
//SYSPRINT DD SYSOUT=*                         
//SYSABEND DD SYSOUT=*                         
//SYSOUT   DD SYSOUT=*                         
//BKUPFILE DD DSN=X01N.MYBKUP,       
//            DISP=(OLD,KEEP,KEEP)             
//SYSIN    DD *                               
  RESTORE DATASET(INCLUDE(X01V.*))  -         
       INDD(BKUPFILE) -                       
       REPLACE                             
/*


bbcode' d
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Sep 10, 2012 6:40 am
Reply with quote

Hello and welcome to the forum,

As far as i know, data backed up using adrdssu must be reloaded usng adrdssu. Also, is far as i know, files backed up by some other utility are not in adrdssu backup format and adrdssu will not restore them.

If the backup was created using gvexport, i suspect you need to use gvimport to reload/restore.
my bad - the utility is gvrestor d
Back to top
View user's profile Send private message
deepakdnayak

New User


Joined: 13 Aug 2010
Posts: 3
Location: bangalore

PostPosted: Mon Sep 10, 2012 9:05 am
Reply with quote

I am not sure about the usage of ADRDSSU or GVEXPORT.But I dnt see any jobs being restored by GVIMPORT which have been backedup by GVEXPORT in my installation.But I see only jobs restores using ADRDSSU.I am new to restores/backup.Would appreciate if I do get any help here.

Thanks,
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Sep 10, 2012 11:24 am
Reply with quote

Quote:
Would appreciate if I do get any help here.


obvious answer is ask the people at your installation.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 10, 2012 12:46 pm
Reply with quote

Quote:
Would appreciate if I do get any help here.

unfortunately we do not have the power to.

any <restore> must be done with the <restore> function of the utility used for <backup>

anyway the best approach is to work with Your storage support group!
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Mon Sep 10, 2012 12:50 pm
Reply with quote

Hi,

If I remember correctly, you need to use PGM=GVRESTOR

(long time since I used CA FAVER)


Gerry
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Sep 10, 2012 12:53 pm
Reply with quote

GVEXPORT/GVRESTOR are CA-FAVER utilities. So consult the CA documentation for information and what dbzTHEdinosauer said.
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

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Data Backup suggestions DB2 5
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top