View previous topic :: View next topic
|
Author |
Message |
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
A coworker needs to transfer a large number (1400+) of her datasets from her old user id to a new one. I could write a rexx to do it for her
- Get dataset name
- Get dcb attributes using LISTDSI
- Allocate new dataset
- Copy using IEBGENER or IEBCOPY
Is there another utility that will do it much easier? I don't need the actual code or jcl. Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
adrdssu dump
adrdssu restore renameu
adrdssu dump delete ( output dd dummy )
discussed zillions of times around here |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Use DF/DSS (ADRDSSU) to back up the high level qualifier, then restore with a RENAME parameter to change the high level qualifier. Two jobs that'll take half an hour to write and however long to run. The only caveat is that if some of the data sets have fixed size, ADRDSSU only restores the actual used space, not the allocated space. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
enrico, you've got fast fingers today! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Yep |
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
Thanks. What is the name of the IBM manual so I can read about it? I tried google but am not having much luck. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
Back to top |
|
|
|