Binyamin Dissen wrote:

>I wonder if there is a native MVS or TSO command to easily do this.

What about STOW and DESERV DELETE?  Yes, they're macros, not commands, but I 
think you can conjure a little program to us that.

>There is delete pds(member), but that requires exclusive access.

That is an IDCAMS command, not TSO.

Is requiring exclusive access a problem? As documented in "DFSMS Using Data 
Sets":

"A PDSE member is not actually deleted while in use. Any program connected to 
the member when the delete occurs can continue to access the member until the 
data set is closed. This is called a deferred delete."

Oh, BTW, all aliase of that [PDSE] member will also be deleted when you delete 
a member.


>There is IEHPROGM, but I would as soon just avoid it.

Good. What about utilities and IDCAMS?

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to