I should expand on my answer. This is documented in the SAMPLIB (I am not at work so I think this is where it is) for HSM. ARC member name prefix name.
The Manual JCL examples for reorging the xCDS datasets in the manual also show this coding. Each upgrade to z/OS I will review these samples and adjust our Reorg JCL to use IBM's sample. If there is a difference between SAMPLIB and the Manuals I will ask IBM which is correct. So, I always code what IBM has documented for the JCL and the DEF CLUSTER. IBM sometimes add fields or adjusts the Definition of the xCDS datasets for HSM and I try to keep up with those changes. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Elardus Engelbrecht > Sent: Thursday, February 09, 2017 6:42 AM > To: [email protected] > Subject: Re: Subject : DCB NECESSSARY? > > esmie moo wrote: > > >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? > > The manuals are indeed not clear what the LRECL and BLKSIZE should be as > target for EXPORTing those HSM VSAM datasets. > > (.... unless I missed them somewhere, but the samples shown are for general > KSDS VSAM datasets and some samples are for tapes) > > > I'm not sure if EXPORT is the right one, but you can use that. That is if HSM > is not updating these VSAM datasets while you are EXPORTing them. > > But, I would allocate a new set of MCDS, BCDS and OCDS with new names and same > attributes. Then I would bring HSM down everywhere, do a IDCAMS REPRO. After > that just IDCAMS ALTER on both sets so when HSM is running up again, it will > use the new set and you have a backup MCDS, BCDS and OCDS. > > Above is a tedious PITA of course, but I prefer proper backups with nothing > which could change those VSAM datasets. > > I agree, I don't have really an answer for attributes of EXPORT targets, > because I never used EXPORT for those specific HSM datasets. I have used that > EXPORT for other things like catalogs for example. > > Good luck! > > Groete / Greetings > Elardus Engelbrecht > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
