how can u import .csv file in to SAS?tell Syntax?
Answer Posted / enr
To create csv file,we have to open notepad.then ,declaring
the variables.then save the file.like enr.csv
SYNTAX: proc import datafile='external file'
out=<dataset name> dbms=csv replace;
getnames=yes;
proc print data=<dataset name>
run;
eg:proc import datafile='E:\enr.csv'
out=sai
dbms=csv replace;
getnames=yes;
proc print data=sai;
run;
| Is This Answer Correct ? | 32 Yes | 2 No |
Post New Answer View All Answers
Are you involved in writing the inferential analysis plan? Tables specifications?
How does the internal authentication work in sas? : sas-grid-administration
what versions of sas have you used (on which platforms)? : Sas programming
what is factor analysis? : Sas-administrator
What is the use of PROC gplot?
what are all the reports you generated in your recent project?
what is metadata? : Sas-bi
how does sas handle missing values in formats? : Sas programming
Describe the function and utility of the most difficult SAS macro that you have written?
List out some key concept of SAS
what is sas application server? : Sas-di
What do the mod and int function do? : Sas programming
Do you need to know if there are any missing values?
What are the table names in oracle database...?
What is a macro routine?