Re: DFSMSdss REPLACEUNCONDITIONAL vs IDCAMS DELETE



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
.



Relevant Pages

  • Re: Platinum and z/OS V1.9
    ... Check in the z/OS 1.9 migration guide under DFSMS migration actions. ... Subject: Platinum and z/OS V1.9 ... STORAGE GROUPTO SATISFY THIS REQUEST FOR DATA SET ... THE CANDIDATE STORAGE GROUPS WERE:TST1 ...
    (bit.listserv.ibm-main)
  • Re: Maximum PS dataset size
    ... It depends on a setting in IGDSMSxx. ... being coded in IGDSMSxx (but the default could be changed in z/OS 1.7). ... unless the data set contains n ... The access method is QSAM or it is BSAM without the NOT ...
    (bit.listserv.ibm-main)
  • Re: 3 Page Datasets on one Volume
    ... As long as you have dynamic PAVs, you can have more than one page ... data set per volume without a performance impact. ... if there is another active page data set since z/OS 1.3 IIRC. ... Search the archives at http://bama.ua.edu/archives/ibm-main.html ...
    (bit.listserv.ibm-main)
  • RE: Error message DFHFC0966
    ... We are running CICS TS2.2, under z/OS 1.4. ... We also have a VSAM data set type ESDS that has to be greater ...
    (bit.listserv.ibm-main)
  • RE: SMS Question - Urgent
    ... I found the caller of SMS was IDCAMS module IDCSA11 +x'24D4' base z/OS ...
    (bit.listserv.ibm-main)