Just curious.

Would a simple IEFBR14 specifying unit, vol ser, and disp old delete work?




John McKown <[EMAIL PROTECTED]> 
Sent by: IBM Mainframe Discussion List <[email protected]>
08/29/2008 02:23 PM
Please respond to
IBM Mainframe Discussion List <[email protected]>


To
[email protected]
cc

Subject
Re: SMS - Delete






On Fri, 29 Aug 2008, Mark Steely wrote:

> We are z/OS V1R9. I am not sure how this happen, but I have an
> un-cataloged dataset on an SMS managed volume. It won't let me delete
> this dataset because it is un-cataloged (it wont let me do anything with
> it since it is uncatalogued). Is there an easy way to delete this
> dataset. I tried using ISMF and it gives me the same result. 
> 
> Any help would be appreciated.
> 
> Thank You

Use IDCAMS with the DELETE NVR syntax.

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//VOLSER DD DISP=OLD,UNIT=SYSDA,VOL=SER=volser
//SYSIN DD *
 DELETE dataset.name -
   FILE(VOLSER) -
   NVR
/*

It it is VSAM, then delete using VVR instead of NVR.

-- 
Q: What do theoretical physicists drink beer from?
A: An EIN stein.

Maranatha!
John McKown

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



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