Date: Mon, 20 Nov 2006 18:53:52 -0500
Reply-To: Jake Bee <johbee@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jake Bee <johbee@GMAIL.COM>
Subject: Re: Uncompressing SAS datasets
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Isn't it just gunzip on UNIX? I have no problem with it.
On 11/20/06, Jim Groeneveld <email@example.com> wrote:
> Hi SAS_learner,
> I don't know. If format catalogs are platform dependent you could make a
> dataset out of it using PROC FORMAT CNTLOUT=dataset;, transfer it and
> the format catalog by PROC FORMAT CNTLIN=dataset;.
> Regards - Jim.
> Jim Groeneveld, Netherlands
> Statistician, SAS consultant
> On Mon, 20 Nov 2006 16:20:26 -0600, SAS_learner <proccontents@GMAIL.COM>
> >Jim is it datasets that are Platform depedent or is it formats that are
> >associated with it ?? Just curious I think datasets are platform
> >and catalogs are platform dependent right ??
> >On 11/20/06, Jim Groeneveld <firstname.lastname@example.org> wrote:
> >> Hi Bernie,
> >> You can uncompress a SAS dataset just like any (external) file.
> >> all
> >> files are "external", can be compressed and uncompressed. There is no
> >> difference between file types. And you actually shouldn't say your
> >> is compressed, but your dataset has been packed inside a compressed
> >> (zip file), in/from which any file can be stored/extracted, any number
> >> files (and subdirectories). There is nothing special on SAS datasets.
> >> The point with a pipe, however, is that the (un)compression program
> >> allow a command line interface in order to be able to be driven from
> >> Winzip has a separately downloadable command line interface. Many other
> >> compression software also has additional command line support, like
> >> Archiver, gzip for DOS/Windows and PKZIP for DOS or Windows. (I often
> >> still
> >> use PKZIP for DOS, vs. 2.50, Windows and long file name compatible;
> >> apply the DOS SETVER option: SETVER PKZIP.EXE 7.10; the same applies to
> >> PKUNZIP. 7.10 refers to the DOS version number of Windows 98, without
> >> it
> >> does not suppport long file names.)
> >> Another issue is: are the Unix (or Linux) datasets Windows compatible?
> >> really don't know. If not then you have to use transport files. But for
> >> the
> >> moment I assume they are compatible (OS independent).
> >> regards - Jim.
> >> --
> >> Jim Groeneveld, Netherlands
> >> Statistician, SAS consultant
> >> home.hccnet.nl/jim.groeneveld
> >> On Mon, 20 Nov 2006 15:09:33 -0500, Bernard S. Zimmerman
> >> <bernie@HOMER.ATT.COM> wrote:
> >> >Listers:
> >> >
> >> >My question is fairly simple, I hope.
> >> >
> >> >Is there a way, an easy way perhaps, to *uncompress* a SAS dataset
> >> >has been compressed with the "gzip" command on Unix. I know you can
> >> >external compressed files, both compressed using (WinZip) and gzip-ped
> >> >with the 'pipe' option of the filename statement. Does something
> >> >similar exist when it comes to permanent SAS datasets?
> >> >
> >> >TIA
> >> >
> >> >Bernie Zimmerman
> >> >
> >> >--
> >> >AT&T Labs, consultant
> >> >Florham Park, NJ 07932
> >> >(973) 236- 6718