>>20.2.13 Delete a Member of a Partitioned (Non-VSAM) Data Set in a Catalog: 
>>Example 13
??              ...
??          DELETE -
>>                 EXAMPLE.NONVSAM2 -
>>                 PURGE -
>>                 CATALOG(USERCAT4)
>>
>>    The [second] DELETE command deletes all remaining members and then
>>    the partitioned non-VSAM data set, EXAMPLE.NONVSAM2, itself...

Haha, the truth is, this will delete the whole dataset (PDS or not) -- Gone -- 
No need to "delete" members!

Roger


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Paul Gilmartin
Sent: Tuesday, August 28, 2012 6:28 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Does IDCAMS really do that?

In:

Title: z/OS V1R12.0 DFSMS AMS for Catalogs Document Number: SC26-7394-11

    http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2i290/20.2.13

I read:

20.2.13 Delete a Member of a Partitioned (Non-VSAM) Data Set in a Catalog: 
Example 13
              ...
          DELETE -
                 EXAMPLE.NONVSAM2 -
                 PURGE -
                 CATALOG(USERCAT4)

    The [second] DELETE command deletes all remaining members and then
    the partitioned non-VSAM data set, EXAMPLE.NONVSAM2, itself...

That seems terribly wasteful to me.  Why delete all the members first?
Wouldn't it suffice to delete "the partitioned non-VSAM data set [] itself."
The members won't be there after that, will they?  Ghosts?  Who you gonna call?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to