Date: Thu, 9 Nov 2006 16:07:57 -0600
Reply-To: SAS_learner <proccontents@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: SAS_learner <proccontents@GMAIL.COM>
Subject: Re: About SAS view
In-Reply-To: <1163109723.503024.77560@k70g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hello Mindy,
Specify the length of the variables so play with the length statment in
dataset and you should see both the results are same.
thanks
On 11/9/06, Mindy <master2005_sas@yahoo.com> wrote:
>
> Thanks guys answering my question of "How SAS read in raw data"
> yesterday.
> There is a related question of looking at data in SAS View. Following
> is program and copy of the data is SAS view. My question is after we
> choose formatted view in SAS view, the first observation should be
> -14.0 as by using proc print in sas edit, while in SAS view is
> -14.0183. Thanks.
> data try2;
> input a;
> format a 8.1;
> cards;
> -14.018338
> 2.176058
> ; run;
> libname trysave 'c:\temp';
> data trysave.try2;
> set try2;
> run;
>
> IN SAS View
> (1)Unformatted view
> a
> -14.018338
> 2.176058
>
> (2)Formatted view
> a
> -14.0183
> 2.176058.
>
> Thanks,
> Mindy
>
|