On Tue, 6 Jun 2023 15:19:02 -0400, Gord Tomlin wrote:
>
>This are the sort of thing I am referring to:
>
> if (mychar >= 'a' && mychar <= 'z') {
> do something based on mychar being lower case alphabetic;
> }
>
>This fails on EBCDIC data because there are characters that are not
>alphabetic characters between 'a' and 'z'.
>
If your file is tagged EBCDIC auto conversion should deal with that.
And strcoll() provides more help.
But DFSORT doesn't understand "PARM='LOCALE=EN_US'".
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN