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
 
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: 187
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: 10327
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: 8165
Location: East Dubuque, Illinois, USA

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: 8165
Location: East Dubuque, Illinois, USA

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: 10327
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: 187
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: 1777
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am

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