Have you looked at "man sort" for an explanation of the options that control ordering of keys?
Can you provide an isolated example of the sort command, its options and some data to illustrate your problem? For example: zos> sort - <<EOF abc abd aaa EOF aaa abc abd Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Nov 5, 2015 at 7:49 PM, John P. Baker <jba...@ngssallc.com> wrote: > I am using the BPXWUNIX service from a TSO/E REXX procedure to invoke the > OMVS sort command to sort a REXX stem variable. > > > > The sort works fine except that it uses the ASCII collating sequence as > opposed to the EBCDIC collating sequence. > > > > This makes the output stem variable unsuitable for use by a binary search > algorithm. > > > > Can anyone provide an example of how to make the sort command utilize the > EBCDIC collating sequence? > > > > John P. Baker > > > ---------------------------------------------------------------------- > 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