Previous Topic: DEL3435 Command ExamplesNext Topic: EXPIRE Command


Troubleshooting DEL3435

Attempting to delete orphaned VSAM components can result in error messages like the following:

ADSST203 2546 CATALOG RETURN CODE IS 8 - REASON CODE IS 42

ADSST203 NO RECORD FOUND IN AN ICF CATALOG

ADSST203 3435 CLUSTER NAME COULD NOT BE DETERMINED FOR VSAM COMPONENT

component.name ON VOLUME volser

Reason:

The component is probably cataloged in a catalog not in the normal catalog search path. Using a STEPCAT when the VSAM file was created can cause this problem.

Action:

To determine the catalog that the component entry is in, run a PRINT VVDS for each volume that the stranded components are on.

//PRINT   EXEC PGM=IDCAMS
/VVDS1   DD DSN=SYS1.VVDS.Vvolser,DISP=SHR,AMP=AMORG,UNIT=3390,  
//              VOL=SER=volser  
//SYSIN   DD *             
  PRINT INFILE(VVDS1) SKIP(000)
/*         

To delete the VVRs that are not cataloged in the catalog indicated by the alias:

  1. Prepare a job to delete the entries in a particular catalog.
  2. Add a STEPCAT statement to the job:
    //STEPCAT DD DSN=catalog.name,DISP=SHR