> I am using below JCL and this also not able to backup VSAM dataset. I am
getting
> same error.
>
> JCL
>
> //DUMPUP01 JOB CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),
> // NOTIFY=&SYSUID
> //STEP2 EXEC PGM=ADRDSSU,REGION=4M ,PARM='TYPRUN=NORUN'
> //SYSPRINT DD SYSOUT=*
> //INVOL1 DD VOL=SER=DMTCAT,UNIT=3390,DISP=SHR
> //OUTVOL1 DD VOL=SER=RES001,UNIT=3390,DISP=SHR
> //SYSIN DD *
> COPY DATASET(INCLUDE(**) -
> EXCLUDE(SYS1.VTOCIX.** -
> SYS1.VVDS.** -
> SYSUCAT.** -
> OMVS.** -
> MVSSMP*.** -
> )) -
> LOGINDDNAME(INVOL1) -
> ALLDATA(*) -
> ALLEXCP -
> CANCELERROR -
> BYPASSACS(**) -
> FORCE -
> NULLMGMTCLAS -
> NULLSTORCLAS -
> OUTDDNAME(OUTVOL1) -
> PERCENTUTILIZED(100) -
> PROCESS(SYS1) -
> REPLACE -
> SHARE -
> SPHERE -
> TGTALLOC(SOURCE) -
> TOLERATE(ENQFAILURE) -
> ADMINISTRATOR
>
The ADR468E has the following entry in the message
If the REPLACE or REPLACEUNCONDITIONAL keyword was specified, either the
data set does not qualify for preallocation or a preallocated target does
not exist, and one of the following conditions applies:
If DELETE is specified and the entry name is a SYS1., page, or swap data
set, the RENAMEUNCONDITIONAL or PROCESS(SYS1) subparameter was not
specified.
If the entry name is a cluster name and DELETE was not specified: (1)
the RENAMEUNCONDITIONAL subparameter was not specified, or (2) the RECAT
subparameter was not specified.
If the entry name is an alternate index or a user catalog name: (1) the
DELETE subparameter was not specified, or (2) the RENAMEUNCONDITIONAL
subparameter was specified.
I would not use REPLACE because the VSAM dataset probably does not exist
before the COPY function.
Lizette
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html