You likely need to specify the master catalog name for the CATALOG 
parameter because the BCS reference in the VVR is for a catalog that is not 
connected (or doesn't exist) on the system where you're executing the 
IDCAMS command.  The following should work as suggested by Darth.  Be sure 
to name the data or index component as the entry name, not the cluster.

Example:

//DELVVR    EXEC PGM=IDCAMS                               
//SYSPRINT DD SYSOUT=*                                   
//DD1         DD VOL=SER=<volser>,UNIT=3390,DISP=OLD      
//SYSIN      DD *                                          
  DELETE vsam.component.name -                         
         FILE(DD1) -                                     
         VVR -                                           
         CAT(master.catalog.name)                            
/*                                                        

Tony H. suggested that DELETE <entry> NOSCRATCH is only applicable to non-
VSAM entries.  That is a bit of misinformation.  The DELETE <entry> 
NOSCRATCH is valid for VSAM clusters, however, you must name the cluster 
as the object.  It will not work if you specify the VSAM data or index 
component name.  The DELETE <entry> NOSCRATCH command will remove the 
cluster sphere record and data/index truename records from the BCS and 
would not repair the problem that you currently have.  As Darth pointed out, a 
DELETE <entry> NOSCRATCH could have created the current problem.

Regards,

Tony
--
Tony Brown
DINO Software Corporation

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