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
What are pdv and it functions?
what are all the reports you generated in your recent project?
Which statement does not perform automatic conversions in comparisons?
Can you suggest us materials for sdtm mapping?
What are the statements that are executed only?
describe about metadata object? : Sas-di
How can you create a macro variable with in data step? : sas-macro
what type of graphs we will create(for 2+years candidates)?
name some data transformation used in sas di? : Sas-di
What is the general format of function in sas? : sas-grid-administration
what is sas data set?
Where do you use proc means over proc freq?
what is data governance? : Sas-di
What is the length assigned to the target variable by the scan function?
explain the proc in sas? : Sas-administrator