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: 4
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: 8617
Location: Back in jolly old England

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: 8199
Location: East Dubuque, Illinois, 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: 445
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 Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
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

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