Re: DFSMSdss REPLACEUNCONDITIONAL vs IDCAMS DELETE
- From: usenet5678@xxxxxxxxxxxx (Gilbert Saint-Flour)
- Date: 31 Jan 2006 06:36:29 -0800
Andrew N Wilt wrote:
> The REPLACEUNCONDITIONAL keyword isn't documented in the z/OS v1.4
> manuals because it was a feature we shipped via SPE (APAR) long after
> z/OS v1r4 was in the field. If you check a current version of the
> publications, say z/OS v1r7, it is documented there.
What does REPLACEUNCONDITIONAL do when the existing data set is
migrated? Will it RECALL it?
We are currently converting a large number of VSE JCL streams to a z/OS
1.6 environment with HSM. These VSE job streams include hundreds of
Databack (a Macro4 product) COPY and RESTORE steps which are converted
to DFSMSdss. We currently add an IDCAMS DELETE step before each COPY
or RESTORE to delete the output data sets and prevent COPY and RESTORE
from failing if the target data set exists already (see example below).
IDCAMS DELETE will NOT RECALL migrated data sets.
Would it be a good idea to remove the IDCAMS DELETE steps and specify
REPLACEUNCONDITIONAL instead?
--
Gilbert Saint-Flour
GSF Software
http://gsf-soft.com/
mailto:gsf@xxxxxxxxx
//DLET1100 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE PSPC.BSM.TL1BKUP.PPCPCIF.INHS
DELETE PSPC.BSM.TL2BKUP.PPCPCIF.OTHBK
SET MAXCC=0
/*
//*
//* STEP1100 PGM=ADRDSSU
//*
//STEP1100 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY -
DATASET( -
INCLUDE( -
PSPC.BSM.TLK.PPCPCIF.INHS -
PSPC.BSM.TLK.PPCPCIF.OTHBK -
)) -
SHARE -
VOLCOUNT(ANY) -
RENUNC( -
(PSPC.BSM.TLK.PPCPCIF.INHS,PSPC.BSM.TL1BKUP.PPCPCIF.INHS) -
(PSPC.BSM.TLK.PPCPCIF.OTHBK,PSPC.BSM.TL2BKUP.PPCPCIF.OTHBK) -
)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- Prev by Date: RE: SMS No space errors
- Next by Date: RE: Access to Mainframes via Putty
- Previous by thread: MVS Newbie
- Next by thread: Re: DFSMSdss REPLACEUNCONDITIONAL vs IDCAMS DELETE
- Index(es):
Relevant Pages
|
|