Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

mass copy of datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Sat Sep 03, 2011 12:47 am    Post subject: mass copy of datasets
Reply with quote

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
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Sat Sep 03, 2011 12:56 am    Post subject: Reply to: mass copy of datasets
Reply with quote

adrdssu dump
adrdssu restore renameu
adrdssu dump delete ( output dd dummy )

discussed zillions of times around here
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Sat Sep 03, 2011 12:56 am    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Sat Sep 03, 2011 12:57 am    Post subject:
Reply with quote

enrico, you've got fast fingers today! icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Sat Sep 03, 2011 12:59 am    Post subject: Reply to: mass copy of datasets
Reply with quote

Yep icon_biggrin.gif
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Sat Sep 03, 2011 1:06 am    Post subject:
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1746
Location: Bloomington, IL

PostPosted: Sat Sep 03, 2011 1:16 am    Post subject:
Reply with quote

jerryte wrote:
Thanks. What is the name of the IBM manual so I can read about it? I tried google but am not having much luck.

http://publib.boulder.ibm.com/infocenter/zos/v1r12/topic/com.ibm.zos.r12.adru000/toc.htm
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us