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 is broad cast agent? : Sas-bi
What is the use of %include statement?
how to remove duplicates using proc sql?
Define run-group processing?
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
What is program data vector (pdv) and what are its functions?
what is study design in while working with SAS? what are screening variables in SAS?
do you prefer proc report or proc tabulate? Why? : Sas programming
how to debug and test the sas program? : Sas-administrator
what is the use of proc contents and proc print in sas? : Sas-administrator
What makes sas stand out to be the best over other data analytics tools?
what are the benefits of data integration? : Sas-di
what other sas products have you used and consider yourself proficient in using? : Sas programming
What are types of transport files?
How do dates work in sas?