Date: Wed, 4 Apr 2001 16:51:16 +0100
Reply-To: Peter Crawford <peter.crawford@DB.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <peter.crawford@DB.COM>
Subject: Outputting proc datasets to a SAS dataset
Content-type: text/plain; charset=iso-8859-1
if the data set is visible in your session, (say it is data set BGlib.mem1)
then the session knows all this information you seek and it is available
in views of the internal data dictionary - see sashelp.vtable & sashelp.vcolumn,
or proc sql can efficiently deliver it, like
proc sql;
create table dsinfo as select * from dictionary.tables
where libname = 'BGLIB' and memname = 'MEM1' ;
create table varinfo as select * from dictionary.columns
where libname = 'BGLIB' and memname = 'MEM1' ;
%let numVar = &sqlobs;
quit;
In v8.1 the table name must be queried in upper case
Datum: 04/04/2001 16:24
An: SAS-L@listserv.uga.edu
Antwort an: Brad.Goldman@autotrader.com
Betreff: Outputting proc datasets to a SAS dataset
Nachrichtentext:
Is there an option to take the standard output from a proc datasets and pipe
that to a SAS dataset?
(Variables = Name Memtype File_Size Last_Modified)
Thanks!
Brad Goldman
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.