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


Please Help Members By Posting Answers For Below Questions

What do you know about symput and symget?

730


What do you understand by the term Normal Distribution?

570


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

1612


What is the function of Stop statement in a SAS Program?

643


Can you suggest us materials for sdtm mapping?

4036






What is the function of output statement in a SAS Program?

612


name some data transformation used in sas di? : Sas-di

546


how do the in= variables improve the capability of a merge? : Sas programming

932


What are the data types does SAS contain?

652


What is a put statement?

661


What is program data vector (pdv) and what are its functions?

628


How to create an external dataset with sas code?

587


What is run-group processing?

622


What is the difference between one to one merge and match merge? Give an example.

571


What are the special input delimiters used in SAS?

655