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 the difference between %local and %global? : sas-macro
What are the 3 components in sas programming?
Explain the difference between informat and format with an example.
explain about sas business intelligence? : Sas-bi
Explain how merging helps to combine data sets.
what do the pad and dim functions do? : Sas programming
what is sas olap server? : Sas-di
where to use sas business intelligence? : Sas-bi
what is function of retain statment
Describe the ways in which you can create macro variables?
What are the functions used for character handling?
What is the difference between reading data from an external file and reading data from an existing data set?
Compare sas with other data analytics tools.
explain about various caches available in data integrator? : Sas-di
What are the difference between the sas data step and sas procs?