Thanks Don and Alan, that did the trick. Lizette
-----Original Message----- >From: "Field, Alan C." <[EMAIL PROTECTED]> >Sent: Mar 6, 2008 11:34 AM >To: [email protected] >Subject: Re: Sorting Hex Data - ISPF or Batch > >Lizette > >I use these SORT control statements to achieve what you want. > >* THIS CAUSES NUMBERS TO COLLATE BEFORE UPPERCASE LETTERS >* GREAT FOR GETTING HEX NUMBERS IN CORRECT ORDER 0-9A-F > ALTSEQ CODE=(F0B0,F1B1,F2B2,F3B3,F4B4,F5B5,F6B6,F7B7,F8B8,F9B9) > SORT FIELDS=(1,4,AQ,A),SIZE=E2000 > >Alan > >-----Original Message----- >From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On >Behalf Of Lizette Koehler >Sent: Thursday, March 06, 2008 10:31 >To: [email protected] >Subject: Sorting Hex Data - ISPF or Batch > >I have gone through several iterations and just cannot see the forest >for the trees. > >I need to sort hex data in ISPF and batch. I have tried a couple of >variations but the x'A' - x'F' always go to the top of the sorted list. >I really would like 0-9, x'A' - x'F' > >I have not found on the ISPF sort command a hex option for sorting. And >I am not sure what control cards I can use in batch sort to make it >happen. > >Any one willing to point me in the right direction? If not, I will >write a sort process in REXX. > >Lizette > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO >Search the archives at http://bama.ua.edu/archives/ibm-main.html > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO >Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

