| Date: | Thu, 25 Jun 1998 17:49:37 -0400 |
| Reply-To: | Douglas Dame <dougdame@HPE.UFL.EDU> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Douglas Dame <dougdame@HPE.UFL.EDU> |
| Subject: | Re: Make Win NT *think* in EBCDIC |
|
| In-Reply-To: | <971635F172E7D1118B7200104B21563C11F57A@miaxch01.herald.com> |
| Content-Type: | text/plain; charset="iso-8859-1" |
Sounds like
data FABULOUS;
set EBCDIC;
by REC_NUMB notsorted;
... more stuff here ...
... probly use RETAINs to build your composite records ....
(and if you need to re-use the order)
if FIRST.REC_NUMB then SORT_ORD+1;
....
should work for you.
There's a lot of mileage in various NOTSORTED tricks. (Although maybe if SI
had called it "presorted" instead of "notsorted" some of them would have
been more intuitively obvious.)
HTH
Douglas Dame
Shands HealthCare -- Gainesville FL
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@UGA.CC.UGA.EDU]On Behalf Of
> Keating, Dan (Miami)
> Sent: Thursday, June 25, 1998 5:32 PM
> To: SAS-L@UGA.CC.UGA.EDU
> Subject: Make Win NT *think* in EBCDIC
>
>
> I can make SAS (6.12 TS045) on Win NT sort in EBCDIC using
> sortseq, but I need to make it *think* in EBCDIC sort order. Is there a
> way to do that?
> I need to work with a dataset in EBCDIC sort order. SAS for
> Windows will sort in EBCDIC, but when it works with a dataset sorted
> that way, it chokes and says the records are not sorted properly. (For
> further details and sample data, see below.) Setting the global default
> sortseq to EBCDIC doesn't help.
>
> Dan
>
> Dan Keating
> Research/Technology Editor, Miami Herald
> dkeating@herald.com, (305)376-3476
>
>
|