how can u import .csv file in to SAS?tell Syntax?
Answer Posted / chiranjeevi
retreving the data we can use import&infile also.
import:
proc import datafile='external file'
out=<dataset name> dbms=csv replace;
getnames=yes;
proc print data=<dataset name>
run;
infile:
data code;
infile'C:\Documents and Settings\admin\Desktop\chiru.csv';
input<variable list>;
run;
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
what do you mean by data staging area? : Sas-di
Difference between informat and format?
how do you test for missing values? : Sas programming
What do you code to create a macro? : sas-macro
What are the differences between sum function and using “+” operator?
How do you connect the desktop application to metadata server? : sas-grid-administration
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
Tell e how how dealt with..
What are the differences between proc means and proc summary?
What are symget and symput? : sas-macro
what is sas and what are the functions? : Sas-administrator
What is the use of stop statement?
Explain the difference between using drop = data set option in set and data statement?
What is connection profile? : sas-grid-administration
Are you sensitive to code walk-throughs peer review or QC review?