From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 112edf,1694941cbf50f304 X-Google-Attributes: gid112edf,public X-Google-Thread: 102b08,1694941cbf50f304 X-Google-Attributes: gid102b08,public X-Google-Thread: 1164f8,1694941cbf50f304 X-Google-Attributes: gid1164f8,public From: Ed Notari Subject: Re: SAS: Byte-ordering problem between SPARC and Alpha Date: 1998/04/21 Message-ID: <353CFB86.C66ADA35@hlnt.nospam.redcross.org>#1/1 X-Deja-AN: 346403171 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset=us-ascii Organization: Epoch Internet Mime-Version: 1.0 Newsgroups: comp.soft-sys.sas,comp.sys.dec,comp.sys.sun.apps Actually we had to go through the same thing here. The export program in SAS that you are refering to has a "LIBRARY" command which can create that interim file format you were referring to in order to export an entire directory. The reason for this is a move from a 32-bit to 64-bit OS. The SunOS SAS datasets should have a .ssd01 extension and when imported to DU they should be .ssd04 We also tried to find a global fix but it just doesn't exist. Ed Notari Torkild Hovde Lyngstad wrote: > 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