G'Day, I am setting up a reorg job to reorganise the MCDS/BCDS/OCDS because they have reached the threshold of 95%. I checked the doc IBM z/OS DFSMShsm Primer for an example. I noticed that in the IMPORT step it is using parm IEMPTY: IMPORT IDS(?UID.EXPORT.MCDS) ODS(?UID.MCDS) IEMPTY because the cluster is being redefined. Would it be a problem if I was not deleting the cluster and performed the IMPORT using the IEMPTY parm? I have run a test with the IEMPTY parm and without and they both work. My question is do I need to use the IEMPTY parm? I read in the doc z/OS V1R9.0 DFSMShsm Storage Administration Guide that the IMPORT function redefines a VSAM data set by using a copy of the catalog information saved in the EXPORT copy of the data set
Here is my jcl: //STEP1 EXEC PGM=IDCAMS,COND=(0,NE) //SYSPRINT DD SYSOUT=* //SYSIN DD * LISTC ENT(SYS2.MCDS) ALL /* //STEP2 EXEC PGM=IEFBR14,COND=(0,NE) //MCDS DD DSNAME=SYS2.MCDS.BKUP,UNIT=SYSALLDA, // DISP=(,CATLG,DELETE),SPACE=(CYL,(250,200)) /* //STEP3 EXEC PGM=IDCAMS,COND=(0,NE,STEP4) //SYSPRINT DD SYSOUT=* //SYSIN DD * EXPORT SYS2.MCDS ODS(SYS2.MCDS.BKUP) TEMPORARY /* //STEP4 EXEC PGM=IDCAMS,COND=(0,NE) //SYSPRINT DD SYSOUT=* //SYSIN DD * IMPORT IDS(SYS2.MCDS.BKUP) ODS(SYS2.MCDS) IEMPTY /* //STEP5 EXEC PGM=IDCAMS,COND=(0,NE) //SYSPRINT DD SYSOUT=* //SYSIN DD * LISTC ENT(SYS2.MCDS) ALL /* ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
