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 is proc sort?
What are the default statistics for means procedure?
Do you know the features of sas?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what are some differences between proc summary and proc means? : Sas programming
What are the features of SAS?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
Give some ways by which you can define the variables to produce the summary report (using proc report)?
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
How substr function works in sas?
which date functions advances a date time or date/time value by a given interval? : Sas programming
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
What is factor analysis?
how does sas handle missing values in procs? : Sas programming
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro