I've ignored this thread up until now, but I'll throw in my 2 cents:
1) Use ISMF if you can. Go to the data set menu, generate a list from the
vtoc (use the specific dsn if you want), then type DELETE next to
the dsn. I haven't used a batch job for DELETE VVR in a long time.
2) If the catalog no longer exits, use the name of the master catalog.
Here is the JCL I have used with some comments in it.
//*
//* DELETE AN UNCATALOGED VSAM COMPONENT
//*
//* IF THE CATALOG NO LONGER EXISTS, SPECIFY THE MCAT NAME OR
//* CREATE A NEW TEST CATALOG WITH THE SAME NAME (THEN DELETE
//* IT WHEN FINISHED). YOU MAY ALSO NEED RACF AUTHORITY TO
//* STGADMIN.IGG.DLVVRNVR.NOCAT
//*
//*
//JS010 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//DD1 DD VOL=SER=PAGEA0,UNIT=SYSDA,DISP=OLD
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
DELETE -
SYS1.PAGEA0.COMMON.DATA -
FILE(DD1) VVR
/* CATALOG(CATALOG.MASTER.ASYS) */
/*
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS
mailto:[email protected]
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html
Systems Programming expert at http://expertanswercenter.techtarget.com/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN