In Top Secret, '*' is any string of up to eight characters (INCLUDING a period, which I abhor - this despite that there are a lot of things I like about Top Secret), '-' is any string of characters, and '+' is any one character.
--- Bob Bridges, [email protected], cell 336 382-7313 /* It is in vain to say that democracy is less vain, less proud, less selfish, less ambitious, or less avaricious than aristocracy or monarchy....When clear prospects are opened before vanity, pride, avarice, or ambition, for their easy gratification, it is hard for the most considerate philosophers and the most conscientious moralists to resist the temptation. Individuals have conquered themselves. Nations and large bodies of men, never. -from "The Letters of John and Abigail Adams" */ -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Charles Mills Sent: Tuesday, August 13, 2024 18:13 I did one in C, including a bunch of "automated" test code. There are at least four common schemes: - RACF, that distinguishes between * and ** - dB2. I have forgotten how it works, but it is its own variant IIRC - Windows/DOS, which allows, or at least logically processes, * only at the end of a node. - UNIX, which seems to be what ASAXWC does. * is allowed anywhere and matches 0 to 'n' characters. There is also regular expressions (in a bunch of variants). There are two C library variants of regular expressions. --- On Tue, 13 Aug 2024 17:57:29 -0400, Bob Bridges <[email protected]> wrote: >I don't know what the context of this question is, and I hesitate to >offer advice that you could very easily figure out yourself, but I once >wrote a REXX routine duplicating RACF's logic for dataset masks, including >'*', '**' >and '%'. Turns out it isn't that hard. But maybe REXX isn't anything >you can use in this case. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
