You could also use "DELETE xxx NSCR NVSAM" for a non-vsam dataset.  In this
way, you wouldn't need the DDNAME.

On Tue, Oct 24, 2017 at 11:09 AM, John McKown <[email protected]>
wrote:

> On Tue, Oct 24, 2017 at 11:58 AM, Paul Gilmartin <
> [email protected]> wrote:
>
> > On Tue, 24 Oct 2017 07:04:45 +0000, Vernooij, Kees (ITOPT1) - KLM wrote:
> >
> > >DELETE xxx NOSCRATCH?
> > >
> > I'm guessing that the OP wants it not only uncatalogued but also
> scratched.
> >
>
> ​So, the DELETE xxx NSCR will remove the name from the catalog. A "DELETE
> xxx NVR FILE(ddname)" where "ddname" points to a DD similar to:
>
> ​//DDNAME DD UNIT=SYSDA,DISP=OLD,VOL=SER=volser
>
> The NVR is for a non-VSAM data set. Replace it with VVR for a VSAM data
> set. This should remove it from the VTOC, VTOCIX, and VVDS on the volume
> referred to on the "ddname" volume.
>
>
>
> >
> > >> -----Original Message-----
> > >> From: Buckton, T. (Theo)
> > >> Sent: 24 October, 2017 9:00
> > >>
> > >> I need some advice. How would one delete a VSAM data set that has a
> > >> catalog error and sitting on a non-existent volume name? The volume
> was
> > >> relabelled, but the data set was never deleted from the volume.
> >
> > -- gil
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
>
>
>
> --
> I just child proofed my house.
> But the kids still manage to get in.
>
>
> Maranatha! <><
> John McKown
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
>


-- 
Randolph S. Gibbons
IT Specialist - OS/SYSADMIN

Information Technology Directorate
Office of the Chief Information Officer
U.S. Department of the Interior
303-969-7139 (Office)
303-999-6979 (Cell)
[email protected]
www.DOI.gov/OCIO

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to