"R.S." <[email protected]> wrote in message
news:<[email protected]>...
> Ted MacNEIL pisze:
> >> You can delete a PDS member in REXX using a basic:
> > 
> >> ADDRESS TSO
> >> 'DELETE 'MY.PDS(MEMBER)'      "
> > 
> > That means you can use IDCAMS (free).
> > 
> > IIRC, you can also do:
> > 
> >  DELETE 'MY.PDS(*)'
> > 
> >  -- without the quotes if using IDCAMS
> 
> Ted,
> It's good idea, but ...it doesn't work.
> Yes, you can use IDCAMS to delete member, but you cannot use * in a 
> member field.
> 
> BTW: On DFSORT website one can find a script to generate DEL 
> HLQ.PDS(MEM) list.
> 
> 
> BTW2: IMHO in most cases the best method is to delete PDS and create
new 
> one, without members. YMMV.
> 
> -- 

The OP indicated that he could not delete/define the dataset with his
maintenance job because of users allocating it. He had to work with the
existing dataset and did not bother about users abending because of the
sudden change of contents.

Kees.
**********************************************************************
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee
only. If you are not the addressee, you are notified that no part
of the e-mail or any attachment may be disclosed, copied or
distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately
by return e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries
and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
Dutch Airlines) is registered in Amstelveen, The Netherlands, with
registered number 33014286 
**********************************************************************

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