Date: Tue, 17 Dec 1996 14:00:56 GMT
Reply-To: Arlin Collins <arlin@METRONET.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Arlin Collins <arlin@METRONET.COM>
Organization: Texas Metronet, Inc (login info (214/488-2590 - 817/571-0400))
Subject: Re: binary data files
Erik Engstrom (eman@minn.net) wrote:
: Is there a SAS utility that will allow SAS to read custom binary files?
: In our binary files each record is 7 bytes long and contains the
: second 6 bits values range from 0 to 59
: minute 6 bits values range from 0 to 59
: month 4 bits values range from 1 to 12
: hour 5 bits values range from 0 to 23
: day 5 bits values range from 1 to 31
: year 6 bits values range from 0 to 63
: volume 8 bits values range from 0 to 255
: occupancy 8 bits values range from 0 to 100
: status 4 bits values range from -4 to +3
: flag 4 bits values range from -4 to +3
: It sure would be nice to get this into a SAS data set somehow any ideas?
use the BITSw.d
as your informat
Arlin
|