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


Please Help Members By Posting Answers For Below Questions

How do you control the number of observations and/or variables read or written?

747


What do you know about symput and symget?

731


Explain the purpose of retain statement.

601


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

1844


What are the difficulties u faced while doing vital signs table or dataset?

1933






What are the default statistics that proc means produce?

604


what is the difference between floor and ceil functions in sas? : Sas-administrator

702


what are the categories that sas informats are used to the place the data? : Sas-administrator

613


How are numeric and character missing values represented internally?

1136


What will calendar procedure do?

593


what does the run statement do? : Sas programming

556


AE datasets names? how many types?

2076


what is program data vector? : Sas-administrator

614


What is the SAS data set?

675


for what purpose would you use the retain statement? : Sas programming

583