Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
VSAM Backup and restore

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: VSAM Backup and restore
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

Site Director


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

PostPosted: Mon Sep 10, 2012 6:40 am    Post subject:
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    Post subject: Reply to: VSAM Backup and restore
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: 6970
Location: porcelain throne

PostPosted: Mon Sep 10, 2012 11:24 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Mon Sep 10, 2012 12:46 pm    Post subject: Reply to: VSAM Backup and restore
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: 1703
Location: Australia

PostPosted: Mon Sep 10, 2012 12:50 pm    Post subject:
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: 2446
Location: Netherlands, Amstelveen

PostPosted: Mon Sep 10, 2012 12:53 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us