StaticFX
Programmer
- Nov 29, 2007
- 8
Im still new to SAS. I am trying to condense a long script by using some PROC SQL statements.
currently there is a data step (changed info )
data tbs_tmp (KEEP=FIELD1 FIELD1 FIELD1 FIELD1 FIELD1);
set '/home/xxxx/xxxxxx/tbs';
run;
then I am running a SQL statement pulling from tbs_temp
is there a way to do it directly from the "file"?
CREATE TABLE TBS AS
SELECT X,Y,Z FROM '/home/xxxx/xxxxx/tbs'
?
Thanks!
currently there is a data step (changed info )
data tbs_tmp (KEEP=FIELD1 FIELD1 FIELD1 FIELD1 FIELD1);
set '/home/xxxx/xxxxxx/tbs';
run;
then I am running a SQL statement pulling from tbs_temp
is there a way to do it directly from the "file"?
CREATE TABLE TBS AS
SELECT X,Y,Z FROM '/home/xxxx/xxxxx/tbs'
?
Thanks!