Perhaps there is a way to use another codepage.  It's been a while since I 
wrote the program and did my testing.  Specifying codepage(1047) makes it work 
and I haven't looked any further.

________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Thursday, April 6, 2017 4:01 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Opinion: Using C "standard library" routines in COBOL.

On Thu, 6 Apr 2017 18:29:31 +0000, Frank Swarbrick wrote:

>I have been successful in invoking the following "regular expression" 
>functions from the z/OS XL C/C++ Runtime Library: regcomp(), regexec and 
>regfree().
>
>
>Just to see if I could do it.  Not to actually use for anything useful.
>
>
>One thing it does require is the use of codepage(1047), because of the use of 
>brackets ([]).
>
Strange.  I thought I saw in doc somewhere a list of numerous supported code 
pages.
But perhaps that was only in ISPF Edit doc.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to