| Date: | Tue, 29 Mar 2011 19:00:15 -0700 |
| Reply-To: | Jack Hamilton <jfh@STANFORDALUMNI.ORG> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Jack Hamilton <jfh@STANFORDALUMNI.ORG> |
| Subject: | Re: Another PROC Question |
|
| Content-Type: | text/plain; charset="iso-8859-1" |
What if the data set also com contains no variables?
---
Jack Hamilton
95819
-----Original Message-----
From: Arthur Tabachneck <art297@ROGERS.COM>
Sent: Tuesday, 29 March, 2011 03:48 pm
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: [SAS-L] Another PROC Question
Joe,
Variable name takes up a record. If there were more than one variable,
there would be even more records. E.g.:
proc transpose
data=sashelp.class (obs=0)
out=test;
var sex;
run;
Outputs one record.
Art
------
On Tue, 29 Mar 2011 18:37:08 -0400, Joe Whitehurst <joewhitehurst@GMAIL.COM>
wrote:
>Ya,
>
>Why such behavior? What's the reason for it?
>
>Joe
>
>On Tue, Mar 29, 2011 at 4:52 PM, Ya Huang <ya.huang@amylin.com> wrote:
>
>> proc transpose.
>>
>> On Tue, 29 Mar 2011 16:47:37 -0400, Joe Whitehurst
>> <joewhitehurst@GMAIL.COM> wrote:
>>
>> >Which PROC outputs one observation if the input dataset has 0
>> observations?
>>
|