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.

CM

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

Reply via email to