|
Bruce,[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Bruce Vining
That order would be perfect.
But it's not changing anything for me. DSPSYSVAL QCCSID gives 65535.
-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx
Envoyé : jeudi 8 janvier 2009 15:28codepoints) and sort sequence to *LANGIDUNQ. This will approximate the order
À : Midrange Systems Technical Discussion
Objet : RE: Sorting characters with accents
Set your LANGID to FRA (to match I assume your CCSID of 297 given your
<midrange-l@xxxxxxxxxxxx>
Bruce Bruce Vining Services 507-206-4178
--- On Thu, 1/8/09, David FOXWELL <David.FOXWELL@xxxxxxxxx> wrote:
From: David FOXWELL <David.FOXWELL@xxxxxxxxx>
Subject: RE: Sorting characters with accents
To: "Midrange Systems Technical Discussion"
Date: Thursday, January 8, 2009, 8:11 AM[mailto:midrange-l-bounces@xxxxxxxxxxxx]
Have I a chance in hell of getting this order : ?
a 81
à 7C
c 83
ç E0
e 85
ê 52
é C0
è D0
-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx
De la part de Vern Hambergwith accents
Envoyé : jeudi 8 janvier 2009 14:49
À : Midrange Systems Technical Discussion Objet : Re: Sorting characters
in AZ
Here's what I see -
The first sort is done according to the actual hex value of the character
- notice that it is in order by the hex numeric value - numbers comebefore letters - the order is 0123456789ABCDEF.
the hex value - so letters come before numbers, in the normal EBCDIC order.
Now the second sort is done according to the character representation of
*HEX or *JOB or *JOBRUN or *LANGIDSHR or *LANGIDUNQ - you can even name a sort
In embedded SQL you can set the sort sequence - set option srtseq=*JOB or
This is an option you set at the top of the source code and applies toeverything in a single code unit - so if you need both case-sensitive and
2 modules - a great case for ILE!!list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
Eh?
Vern
David FOXWELL wrote:
Hi,--
With this request : SELECT AZ , hex( AZ ) FROM az ORDER BY AZ
I'm getting
AZ HEX ( AZ )
ê 52
à 7C
a 81
c 83
e 85
é C0
è D0
ç E0
If I use ORDER BY hex(AZ)
I get
AZ HEX ( AZ )
é C0
è D0
ç E0
ê 52
à 7C
a 81
c 83
e 85
Can anyone tell me how the sorting works?
Thanks
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
visit: http://lists.midrange.com/mailman/listinfo/midrange-lmoment to review the archives at http://archive.midrange.com/midrange-l.
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
visit: http://lists.midrange.com/mailman/listinfo/midrange-lmoment to review the archives at http://archive.midrange.com/midrange-l.
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
visit: http://lists.midrange.com/mailman/listinfo/midrange-lmoment to review the archives at http://archive.midrange.com/midrange-l.
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.