How to get any kind of data in SAS? Is it possible to take
data from notepad in SAS?
Answer Posted / krishna
In base sas
we can data from external data by
data <datasetname>;
infile 'path\file.txt';
run;
by procedure
proc import datafile='path\file.xls' out=<datasetname>
dbms=excel;
sheet='sheetname';
run;
proc import table=tablename out=<datasetname>
dbms=access;
database='path\file.mdb';
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the new features included in the new version of SAS Programming Language?
How you can read the variables that you need?
Where do you use proc means over proc freq?
How substr function works in sas?
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
What do the SAS log messages "numeric values have been converted to character" mean?
Explain the difference between nodup and nodupkey options?
for what purpose would you use the retain statement? : Sas programming
What are the differences between sum function and using “+” operator?
How do you connect the desktop application to metadata server? : sas-grid-administration
For what purposes have you used sas macros? : sas-macro
Do you need to know if there are any missing values?
What would you change about your job?
List down the reasons for choosing sas over other data analytics tools.