If the UCATs do not exist, export them with a DCON (see the FM). This
should clean up the VVDS. 

If that fails use DELETE VVR RECOVERY. The RECOVERY options tells VSAM
the volume has been "destroyed" and is being recovered.

HTH,

<snip>
I am trying to expire a volume that has a catalog on it. The only entry
in the catalog is the VVDS for the volume it resides on. I attempted:

DELETE SYS1.VVDS.VABST01 FILE(DD1) SCR -
CATALOG(CATALOG.TABS)                   

I got: IDC3009I ** VSAM CATALOG RETURN CODE IS 50 - REASON CODE IS
IGG0CLE1-14 

I printed the VVDS and some entries for a few catalogs, so I attempted:

 DELETE CATALOG.VVNSTSO - 
 FILE(DD1) VVR -          
 CATALOG(CATALOG.TABS)    

I got: IDC3009I ** VSAM CATALOG RETURN CODE IS 90 - REASON CODE IS
IGG0CLFP-38 

The 38 says that the VVR or DSCB doesn't exist. This particular catalog
does not exist. Beside the self describing records these are the only
entries in the VVDS:

 *.8..VVCR................CATALOG.* 
 *TABS                            * 
 *    ............CATALOG.VVNSTSO * 
 *                            ....* 
 *........CATALOG.VTSOPK1         * 
 *                    ............* 
 *CATALOG.VVNSTEST                * 

Two of the 3 meet the criteria of the reson code 38. One entry is valid.
If I delete the VVR from this VVDS will it scratch the DSCB for it ? It
is a valid catalog.

How can I clean this up so I can get rid of the catalog cleanly.
</snip>

----------------------------------------------------------------------
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