The safest course might be to open a case to IDCAMS support for L2. Should you break your environment, they would probably be the ones to help.
Lizette -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of David Elliot Sent: Sunday, December 26, 2021 11:49 PM To: [email protected] Subject: Re: Sample JCL VVDS - replace catalog I think NO is the short answer to your question. This sort of problem can be very frustrating to deal with. A VVDS is supposed to be an ESDS but it's not . It cannot easily be modified or have records deleted. Weird stuff happens if you try. On at least one occasion I have taken a big hammer to the problem and deleted or moved all files on the volume and reinitialized the damn thing. If your job involves managing catalogs there was a tool I found very useful to have around. Catalog solutions it was called .it allowed you to do some of the things IDCAMS refused to do. Good luck. On Sun, Dec 26, 2021, 8:40 PM CM Poncelet < [email protected]> wrote: > For what my memory is worth, I would suggest you begin by running a > 'LISTVTOC' (using IEHLIST) and proceed from there. It *might* then > allow you to reset the VVDS and whatever else, provided you specify > whatever other parms for it (but probably not ones for IEHLIST.) > > E.g. > //********************************************************************* > //* JOB TO LIST ALL FILES ON A GIVEN VOLUME * > //* * > //* 21/12/95 CMP * > //******************************************************************** > * > //* > //LISTVTOC EXEC PGM=IEHLIST > //SYSPRINT DD DISP=(,CATLG), > // DSN=<whatever>.VTOCLIST, > // SPACE=(CYL,(10,1),RLSE), > // DCB=(RECFM=FBA,LRECL=121,BLKSIZE=27951) > //* > //Uxxxxx DD UNIT=3390,VOL=SER=Uxxxxx,DISP=OLD > //* > //SYSIN DD * > LISTVTOC FORMAT, X > VOL=3390=Uxxxxx > //* > > IDCAMS might be able to delete (and recreate, if required) the usercat > in the mcat, on the volser. But I guess this is not quite what you > want, or you would have done it already. > > > > On 26/12/2021 04:42, Peter wrote: > > Hello > > > > Could someone please help me with a sample JCL to reset the VVDS or > replace > > the catalog value in it. > > > > Regards > > Peter > > > > -------------------------------------------------------------------- > > -- For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO > > IBM-MAIN . > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
