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
 
ADRDSSU: Restore VSAM and rename

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
pietras65

New User


Joined: 03 Aug 2013
Posts: 5
Location: Poland

PostPosted: Wed Aug 07, 2013 1:58 pm    Post subject: ADRDSSU: Restore VSAM and rename
Reply with quote

Hello, I faced with the following two problems when I tried to restore VSAM data sets from logical dump:

e.g. dumped VSAM names in ds SYSU.DUMP.VSAMS:

SYSU.EXAMPLE.VSAM1
SYSU.EXAMPLE.VSAM1.ABINDEX
SYSU.EXAMPLE.VSAM1.ABDATA

SYSU.VSAM2.
SYSU.VSAM2.CDINDEX
SYSU.VSAM2.CDDATA


1) I wanted to have new name (add one qualifier) using RENAMEU:
RENAMEU((SYSU.**,SYSU.RECO.**))

I googled and I'm not sure whether RENAMEU can be useful.
What should I do to gain this? assume that I need to change about 100 vsam data sets.

2) when I restored vsam I got:
SYSU.VSAM2.
SYSU.VSAM2.I
SYSU.VSAM2.D

instead of:
SYSU.VSAM2.
SYSU.VSAM2.CDINDEX
SYSU.VSAM2.CDINDEX

how to restore with the original index and data component name?

regards
pietras65
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8733
Location: Welsh Wales

PostPosted: Wed Aug 07, 2013 3:00 pm    Post subject:
Reply with quote

Not sure that you can use the RENAMEU parameter to add a level into the DSNAME with DFdss.

You will probably have to RENAMEU each cluster individually. Again not sure about all of the components within, if you will have to rename those individually as well.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8404
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 07, 2013 4:57 pm    Post subject:
Reply with quote

The Storage Administration Reference manual tells you that you cannot change the number of qualifiers in a data set name unless you use the fully qualified name for the old and new names.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 470
Location: London

PostPosted: Thu Sep 05, 2013 2:46 pm    Post subject:
Reply with quote

RENAMEU requires the full source and target name if adding or removing a dataset qualifier.
e.g.
RENAME( -
(SOURCE.ONE, TGT.ONE.TWO) -
(SOURCE.TWO, TGT.TWO.TWO ) -
)

The change from INDEX and DATA to D & I shouldn't be a concern. I think D & I are the default component suffix these days so DFDSS has renamed them for you. It'll still work fine.
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 KSDS backup in TAPE joy_dey81 JCL & VSAM 3 Fri Oct 05, 2018 1:31 pm
No new posts DUMP A Multi volume datasets and rest... lind sh JCL & VSAM 6 Mon Oct 01, 2018 12:02 pm
No new posts VSAM Space allocated and used space ... upendrasri JCL & VSAM 5 Tue Sep 04, 2018 4:29 pm
No new posts How to manage VSAM file update confli... ocjohnh JCL & VSAM 2 Sat Jul 21, 2018 6:04 am
No new posts Invoking adrdssu using attchmvs harisukumaran IBM Tools 5 Tue Jun 05, 2018 3:30 am

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