From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 112edf,1694941cbf50f304,start X-Google-Attributes: gid112edf,public X-Google-Thread: 102b08,1694941cbf50f304,start X-Google-Attributes: gid102b08,public X-Google-Thread: 1164f8,1694941cbf50f304,start X-Google-Attributes: gid1164f8,public From: Torkild Hovde Lyngstad Subject: SAS: Byte-ordering problem between SPARC and Alpha Date: 1998/04/21 Message-ID: #1/1 X-Deja-AN: 346385470 Organization: University of Oslo, Norway Newsgroups: comp.soft-sys.sas,comp.sys.dec,comp.sys.sun.apps I have several SPARC-boxes (Ultra 1/2, Enterprise, SS10/20 etc) running mostly Solaris 2.5.1 and 2.6, and one DEC AlphaServer 4000 with DEC Unix 4.0. We're supposed to move much of our production from Sun to DEC. The production of statistics is running on SAS v6.12. Because of the different byte-ordering between the two platforms, the people running the computations now has to "export" datasets created on Sun to a third format (don't remember the name right now) and then read them on Digital. Is there a way we can "convert" the files between bigendian and littleendian ordering? I'm myself not really into this ordering problem, I only know that it exists :) If anyone know of a way to easily "convert" hundreds of datafiles, like through running a script or a program on them I'd be very grateful if you could tell me how you got around this problem. -- Torkild Hovde Lyngstad