>From the z/OS 1.11 pre-announcement: "The IDCAMS DELETE command can be used to delete multiple entries by using a wildcard character as part of the entry name. In z/OS V1.11, IDCAMS will be designed to provide more-selective criteria on the DELETE command. A new MASK keyword will be intended to allow you to specify data set name selection criteria using a mask entry-name, or key filter, with the new keyword."
Something to look forward to. On Thu, 9 Apr 2009 14:28:27 -0500, Nemo <plumbersar...@gmail.com> wrote: >On Thu, 9 Apr 2009 15:09:48 -0400, Jerry Fuchs wrote: > >>Ok still a stupid question. Now I get >> >> DELETE APY.TEMP.INVS.*.*.*.* >>IDC3203I ITEM 'APY.TEMP.INVS.*.*.*.' DOES NOT ADHERE TO RESTRICTIONS >>IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE >IS 12 >> >> >>Nemo >>Sent by: IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu> >>04/09/2009 02:18 PM >> >>To: IBM-MAIN@bama.ua.edu >> >>Subject Re: IDCAMS DELETE stupid question >> >> >>On Thu, 9 Apr 2009 14:05:36 -0400, Jerry Fuchs wrote: >> >>>Yes, there are multiple qualifiers. IE >>> >>>APY.TEMP.INVS.S07340.I1543119.V000.ASN >>> >>>How should the delete be coded? >>> >>>It didn't like >>> >>>DELETE APY.TEMP.INVS.** >> >> >>The delete, in your case, should be coded >> >> APY.TEMP.INVS.*.*.*.* >> >>...just like it says in the IDCAMS publication under the heading "How to >>code access methods services commands" (which is itself under the heading >>"About this document"). > > >Oops, *snicker*! See what you get for depending on someone else to read >the book for you? I quoted the "unacceptable ways" paragraph by mistake. >(Now I suppose you won't be putting any money into my PayPal account. Oh, >boo-hoo.) > >You cannot be so lazy as to drop that many qualifiers in an IDCAMS DELETE >command. You can drop almost any one (1) but not more than that. > >You could (successfully) use: DELETE APY.TEMP.INVS.S07340.*.V000.ASN >Or you could use: DELETE APY.TEMP.INVS.*.I1543119.V000.ASN > >But you cannot use IDCAMS DELETE to skip more than one level. > >You might need to use a different utility, like DFDSS as one possible >suggestion. (Of course you might have to read that manual.) > >-- > > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html