Hi Paul,
//DSSMOVE EXEC PGM=ADRDSSU,REGION=0M
//SYSPRINT DD SYSOUT=*
//ODD DD DISP=SHR,UNIT=SYSALLDA,VOL=SER=ZFSU01
//SYSIN DD *
COPY -
DS( -
INCL( -
ZFS.LOCAL -
) -
) -
ODD(ODD) -
ALLX -
ALLD(*) -
CAT -
DEL -
OPT(4) -
SPHERE
LOGINDDNAME is not required, provided that the "from" Dataset is CATALOGd.
Since the "To" Dataset is VSAM (or SMS-Managed), CATALOG is not required.
You forgot OPT(4).
Only the Cluster Name is required. I code SPHERE also.
if the Dataset has not "expired", you might need PRG (PURGE) also.
Use abbreviations where possible, because, IMO it makes the Job easier
to look at.
Also, lineup your operands in columns and develop an order for operands
(e.g. alphabetical).
Regards,
David
VOL(PRIVATE is unnecessary
The "/*" is not needed, unless you are using a card reader.
Finally, UNIT=SYSALLDA is automatically built into every z/OS system.
There is no need to hardcode 3390 (The big exception to this is IEHPROGM.)
Regards,
David
On 2020-05-16 15:54, esst...@juno.com wrote:
I am Not a DASD Administrator -
.
However I used the following JCL to move a PDS -
//STEP1 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=A
//DASD1 DD UNIT=3390,VOL=(PRIVATE,SER=USER12),DISP=OLD
//DASD2 DD UNIT=3390,VOL=(PRIVATE,SER=USER01),DISP=OLD
//SYSIN DD *
COPY DATASET(INCLUDE(MONSOON.SRCLIB.BKUP)) -
LOGINDDNAME(DASD1) OUTDDNAME(DASD2) DELETE CATALOG
/*
.
Would Anyone have an example of moving VSAM Datasets
Do I specify the base cluster ? Do I specify the base cluster, data component,
and index
component ? An Example would be appreciated ?
---------- Original Message ----------
From: David Spiegel <dspiegel...@hotmail.com>
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: DFSMS Move Dataset
Date: Fri, 15 May 2020 14:20:08 -0400
Hi Paul,
A bit of advice (I've been using DFSMSdss for 30+ years).
Unless not possible, ALWAYS obtain your list of Datasets to be
processed, via Logical criteria.
(Do not, unless you have to, use Physical criteria).
The difference between them is that Physical criteria are generated by
coding INDDNAME or INDYNAM.
(If you code LOGINDDNAME or LOGINDYNAM it's Logical.)
You will likely hear that Physical means Full Volume and that Logical
means by Dataset.
This statement is ABSOLUTELY false.
One more thing ... always code OPT(4) to read a Cylinder at a time.
Good luck!
Regards,
David
On 2020-05-15 13:39, esst...@juno.com wrote:
Hello.
Does IBM (DFSMS) have a utility that will move VSAM and/or non-VSAM dataset to
a
different VOLUME ?
.
Paul D'Angelo
*
*
*
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN