Thanks for the response, but your sequence doesn't seem to work for me.

 DEFINE USERCATALOG (-
        NAME      (CATALOG.USER.SYSTEM.ZOS19) -
        VOLUME    (PCAT11) -
        CYLINDERS (1 1) -
        ICFCATALOG )
IDC0510I CATALOG ALLOCATION STATUS FOR VOLUME PCAT11 IS 0
IDC0512I NAME GENERATED-(I) CATALOG.USER.SYSTEM.ZOS19.CATINDEX
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0

Didn't need to do the import connect as this defined it in the master
catalog.

//STEP1   EXEC PGM=IDCAMS
//DD1  DD DISP=OLD,UNIT=SYSALLDA,VOL=SER=STD001
//SYSPRINT DD SYSOUT=*
//SYSIN  DD *

 DELETE SYS1.VVDS.VSTD001 CATALOG(CATALOG.USER.SYSTEM.ZOS19) -
     NOSCRATCH FILE(DD1)
IDC3012I ENTRY SYS1.VVDS.VSTD001 NOT FOUND
IDC3009I ** VSAM CATALOG RETURN CODE IS 8 - REASON CODE IS IGG0CLEG-42
IDC0551I ** ENTRY SYS1.VVDS.VSTD001 NOT DELETED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8

What am I missing?


On Wed, Jan 5, 2011 at 11:25 AM, Schwarz, Barry A <
[email protected]> wrote:

> I have had good luck with
>
>        Temporarily define the catalog
>        Import connect it to the master catalog
>        Run IDCAMS delete vvds-dsn catalog(temp-cat-dsn) noscr
> file(dd-name).  The DD statement points to the volume with the VVDS.
>        Delete the catalog.
>
> The error is due to residual data sitting in the VVDS even after any
> dataset related to the catalog has been deleted.
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Mark Pace
> Sent: Wednesday, January 05, 2011 8:00 AM
> To: [email protected]
> Subject: Errors in VVDS
>
> Running a Diagnose on a VVDS I get an error on missing catalogs.
>  DIAGNOSE VVDS INDATASET(SYS1.VVDS.VSTD001)
> IDC11367I THE FOLLOWING VVDS REFERENCED CATALOGS WERE NOT ENCOUNTERED:
>  CATALOG.USER.SYSTEM.ZOS19
>  CATALOG.MASTER.ZOS19
> IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 4
>
> These are old catalogs that no longer exist and I'm unsure why they are
> there to begin with, errors in my ACS routines I assume.  Anyway the error
> message is not of much help on how to repair the VVDS and remove the
> reference to these catalogs.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>



-- 
Mark D Pace
Senior Systems Engineer
Mainline Information Systems

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to