I will use the example IBM supplies as is for my version of DFHSM (z/OS V2.1 for example). I tend not to change the JCL.
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of esmie moo > Sent: Thursday, February 09, 2017 5:42 AM > To: [email protected] > Subject: Subject : DCB NECESSSARY? > > Gentle Readers, > I would like to reorganise the HSM cds dsns - MCDS, BCDS & OCDS - using the > IDCAMS EXPORT parm. My question is when I preallocate the dsn to which I want > to export to do I need to specify the LRECL & BLKSIZE? > Here is a part of the job: > //STEP1 EXEC PGM=IEFBR14 //EXPMCDS DD > DSNAME=SYS2.COPY.MCDS,UNIT=SYSALLDA,// DISP=(NEW,CATLG),SPACE=(CYL,(300 > 0,150)) //EXPBCDS DD > DSNAME=SYS2.COPY.BCDS,UNIT=SYSALLDA,// DISP=(NEW,CATLG),SPACE=(CYL,(300 > 0,150)) //EXPOCDS DD > DSNAME=SYS2.COPY.OCDS,UNIT=SYSALLDA,// DISP=(NEW,CATLG),SPACE=(CYL,(200 > 0,100)) /*//STEP2 EXEC PGM=IDCAMS,COND=(0,NE,ALLOC)//SYSPRINT > DD SYSOUT=* //SYSIN DD * > EXPORT SYS2.HSM.PROD.MCDS ODS(SYS2.COPY.MCDS) TEMPORARY EXPORT > SYS2.HSM.PROD.BCDS ODS(SYS2.COPY.BCDS) TEMPORARY > EXPORT SYS2.HSM.PROD.OCDS ODS(SYS2.COPY.OCDS) TEMPORARY etc etc etc etc.. > Would this work? My uncertainty is that I remember seeing an example where > the LRECL & BLKSIZE are specified. > Thanks. > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
