> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Ted MacNEIL > Sent: Wednesday, January 20, 2010 11:27 AM > To: [email protected] > Subject: Re: REXX to delete all members of a PDS... serverpac CPPEDELM > > >Since when has IDCAMS been able to do this ?? > >It never used to, so is this a new upgrade to IDCAMS ?? > > My bad. > As I've already said, I thought I did it that way. > I checked my code, and, while it empties the entire PDS, it > does it a member at a time. > When I wrote it, I was working at a shop, many years ago, > where space was at a premium, so I didn't want to delete and > re-allocate the file. > Instead, I wrote a REXX procedure, that used ISPF LM services > to get the member list, parse it, and call ICAMS with one line of: > > "DELETE" mypds || "(" || member.n || ")" > > For each member, through an appropriate loop. > > I only have a hard copy of the EXEC, since it was a shop > without PC's, so no downloading.
Curiousity: Did you delete them in reserve order? I.e. Z to A instead of A to Z? -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- 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

