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
 
Copy from One DASD to Another DASD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Copy from One DASD to Another DASD
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: 464

PostPosted: Thu Jun 16, 2005 6:12 pm    Post subject: Re: Copy from One DASD to Another DASD
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    Post subject: Re: Copy from One DASD to Another DASD
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: 8620
Location: Back in jolly old England

PostPosted: Thu Aug 02, 2007 4:01 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
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

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