×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




The regex is right for what you are asking it to do.

My guess would also be CCSID issue.
I'm on 285 and it runs fine for me but if I change my job to CCSID 37 and
run the same thing I get the same error as you.

Does the Host Page on your ACS Session ( right click the session under ACS
configured sessions and select modify to see the host code page) match your
job CCSID?

On a slightly different matter - rather than counting:

values (regexp_count('07777','^\+?\d+$'))

I'd probably substring it out and pass a null indicator to check if it was
valid:

values (regexp_substr('07777','^\+?\d+$'))

regards,
Craig

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.