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

Copy from One DASD to Another DASD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Truptib

New User


Joined: 16 Apr 2005
Posts: 3

PostPosted: Tue Apr 19, 2005 11:36 am
Reply with quote

job/utility to move datasets from one DASD to other DASD
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Thu Jun 16, 2005 6:12 pm
Reply with quote

Hi,

Try the following JCL to Copy dataset from DASD to DASD

//ADRD EXEC PGM=ADRDSSU
//TEST1 DD DISP=SHR,UNIT=Unit name,VOL=SER=Volume name to be copied. //TESTO1 DD DISP=SHR,UNIT=Unit name,VOL=SER=new Volume
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY DATASET(INCLUDE(Dataset name)) -
INDDNAME(TEST1) OUTDD(TESTO1 TESTO2 ) -
DELETE CATALOG

//

Thanks & Regards
Rupesh
Back to top
View user's profile Send private message
barnabas_tat

New User


Joined: 13 Jul 2007
Posts: 1
Location: Malaysia KL

PostPosted: Thu Aug 02, 2007 1:19 pm
Reply with quote

How to move multiple datasets in multiple DASD to a new DASD?

eg.?

BAR3.PDWCSHM1 PP122a
BAR3.PDWCSHM2 PP123a

new volume :
PK2221-PK2226
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Aug 02, 2007 4:01 pm
Reply with quote

Quote:
How to move multiple datasets in multiple DASD to a new DASD?


What have you tried, the example given answers your question.

Take a look at the DFdss manual and all will be revealed.
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 -> JCL & VSAM

 


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