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: 6968
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: 10327
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: 2442
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 VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm

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