Date: Sat, 7 Aug 2004 22:57:37 -0400
Reply-To: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject: Re: compress and xport engine
The documentation also states "The XPORT engine does not support
compression." (http://v9doc.sas.com/cgi-bin/sasdoc/cgigdoc?
file=../lrdict.hlp/a000202890.htm). I suppose the description of the CLONE
option should be qualified to say that it preserves those attributes
supported by the output engine.
On Fri, 6 Aug 2004 07:50:53 -0700, Robert <deps_bear@YAHOO.COM> wrote:
>I am trying to maintain the compressed file size of a permanent SAS
>dataset after putting it into a transport file. The dataset is 50K
>records with 15 comment fields of length 200, but are mostly empty.
>Uncompressed the dataset is 110 megs, compressed it is under 10 megs,
>so ideal situation for compression.
>I am using v8.2.
>
>My first program, basically reads:
>
>options compress=yes;
>
>data perm.demo;
> set demo;
>run;
>
>...and my log file says perm.demo has been compressed by X %
>
>My second program:
>
>libname der '..\data\';
>libname tran xport '..\xport.xpt';
>
>proc copy clone in=derive out=tran ;
>run;
>
>SAS documentation specifically states that the clone option maintains
>attributes such as compression of SAS datasets, but NO LUCK. Even
>though I am looking at perm.demo to be under 10 megs, the transport
>file is 110 megs, the size of the uncompressed dataset if I take it
>out of the transport file, it too is 110 megs.
>
>Any help appreciated on how to maintain the file size of a compressed
>dataset into a transport file. Also, I need proc copy because I need
>to maintain v6 dataset attributes.
>
>Thanks,
>Rob
|