IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

mass copy of datasets


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


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

PostPosted: Sat Sep 03, 2011 12:47 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Sep 03, 2011 12:56 am
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Sep 03, 2011 12:56 am
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Sep 03, 2011 12:57 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Sep 03, 2011 12:59 am
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: 202
Location: Toronto, ON, Canada

PostPosted: Sat Sep 03, 2011 1:06 am
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: 1788
Location: Bloomington, IL

PostPosted: Sat Sep 03, 2011 1:16 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top