Thanks Lizette.

The double * must be new (within the last 25 years :-) ).
Back in the day only a single * could be used to replace a single qualifier.
It was great for GDSs (ie. HLQ.GDGBASE.*).

Dan D

-----Original Message----- From: Lizette Koehler
Sent: Friday, August 14, 2015 7:27 PM Newsgroups: bit.listserv.ibm-main
Subject: Re: .Re: Catalog Entry Deletion using a String

The z/OS needs to be at z/OS V1.11 or higher I think for this mask process
to work.

Lizette


-----Original Message-----
From: Lizette Koehler <[email protected]>
Sent: Aug 14, 2015 4:00 PM
To: [email protected]
Subject: Re: .Re: Catalog Entry Deletion using a String

So in TSO HELP DELETE there are two options

MASK - The entryname is a MASK filter used to select a range of catalog entries to be deleted.

NOMASK   - the entryname is the name of a catalog entry to be deleted.


I have not worked with MASK yet, but might be worth a check out.

Or HLQ.** should work as well.


Lizette


-----Original Message-----
From: Mike Schwab <[email protected]>
Sent: Aug 14, 2015 3:18 PM
To: [email protected]
Subject: Re: .Re: Catalog Entry Deletion using a String

Correct. HLQ.** (two asterisks) covers 0-22 levels of qualifiers.

On Fri, Aug 14, 2015 at 5:05 PM, DanD <[email protected]> wrote:
Is my head back in the 70's?

It used to be that "DELETE HLQ.*" would only delete the single level after
HLQ.  If the DSN was HLQ.ONE.TWO it would NOT be deleted.
I couldn't see anything in "H DELETE" under TSO to explain how it handles
generics.

Dan D

-----Original Message----- From: Lizette Koehler
Sent: Thursday, August 13, 2015 12:14 PM Newsgroups: bit.listserv.ibm-main
Subject: Re: Catalog Entry Deletion using a String

Yes.  As others stated, look at the HELP DELETE under TSO.

I always back up what I am going to delete just in-case there is something
in there I want to keep.

You can also use DFDSS to DUMP DELETE as well.

Lizette


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]]
On Behalf Of Peter
Sent: Thursday, August 13, 2015 8:20 AM
To: [email protected]
Subject: Catalog Entry Deletion using a String

Hello All,

Is it possible to delete a catalog entry using a first HLQ alone ?

Like deleting all entry of ZOS21.** instead of specifying each and every
qualified dataset  ?

Peter

--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

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

Reply via email to