On Fri, 26 Oct 2018 13:18:31 +1100, Peter Morrison wrote:
>
>I am trying to find details on a comparison routine that can be used in
>z/OS, that allows you to compare a field against a pattern similar to the
>SQU 'LIKE' operator - where '*' matches 0 or more characters and '?' matches
>just one.
>
>I believe there is such a publicly available routine in z/OS but I cannot
>find anything.
>
>Anyone have any ideas?
> 
/bin/grep

#define _XOPEN_SOURCE
#include <fnmatch.h>
int fnmatch(const char *pattern, const char *string, int flags);
   
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxbd00/rfnmtc.htm

Otherwise, need more context.

-- gil

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

Reply via email to