z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Delete Entries Associated with a Non-VSAM Object from VVDS and VTOC: Example 5

z/OS DFSMS Access Method Services Commands
SC23-6846-01

The following example shows how to delete entries associated with a non-VSAM object from the VVDS and VTOC. The purpose of this command is to clean up the VVDS and VTOC when there are residual records as a result of an error.
//DELET14  JOB   ...
//STEP1    EXEC  PGM=IDCAMS
//DD1      DD    VOL=SER=VSER01,UNIT=3380,DISP=OLD
//SYSPRINT DD    SYSOUT=A
//SYSIN    DD    *
     DELETE -
           EXAMPLE.NONVSAM -
           FILE(DD1) -
           NVR
/*
The above DELETE command deletes the NVR associated with a non-VSAM object from the VVDS and its corresponding entry from the VTOC if they exist. Its parameters are:
  • EXAMPLE.NONVSAM, the name of the non-VSAM object. There must not be a BCS entry for this object.
  • FILE, specifies the ddname of a DD statement that describes the volume containing the VVDS entry associated with this object.
  • NVR, specifies that only the NVR and its corresponding VTOC entry for this object are to be deleted.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014