MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to copy data from tape to disk?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
satyenderd
Beginner


Joined: 26 Aug 2005
Posts: 144
Topics: 73

PostPosted: Mon Jan 07, 2008 5:11 am    Post subject: How to copy data from tape to disk? Reply with quote

I have taken image copies for few databases. NowI need to copy that data into disk. Could anyone of you throw some light on this, how to do this. Thanks in advance.
_________________
Satya
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Jan 07, 2008 9:06 am    Post subject: Reply with quote

Satyender,

You could use IEBGENER, SORT, FILEAID or any such utilities to copy any dataset from any storage device to another (where you have access).

Code:

//STEP01    EXEC  PGM=SORT
//SORTIN       DD  DSN=your.tape.file,
//                  DISP=SHR,
//                  VOL=SER=(xxxxxxx,yyyyyyy)
//SORTOUT    DD  DSN=your.DASD.file,
//                  DISP=(NEW,CATLG,DELETE),
//                  UNIT=SYSDA,
//                  SPACE=(CYL,(xx,yy),RLSE)
//SYSOUT      DD  SYSOUT=*
//SYSIN         DD  *
  SORT FIELDS=COPY
/*


Hope this helps,

Thanks,
Phantom
Back to top
View user's profile Send private message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Mon Jan 07, 2008 10:15 am    Post subject: Reply with quote

why you want to copy to DASD?

Try COPYTOCOPY utility, the new copy will be recorded in DB2 catalog table too
Back to top
View user's profile Send private message
satyenderd
Beginner


Joined: 26 Aug 2005
Posts: 144
Topics: 73

PostPosted: Tue Jan 08, 2008 12:56 am    Post subject: Reply with quote

Thanks for u r quick response.. I will try and c.
_________________
Satya
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group