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

Describe the function and untility of the most difficult SAS macro that you have written.

1731


Differences between where and if statement?

586


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

1923


How many ways to overcome a missing values???

2341


Tell e how how dealt with..

1777






what do you mean by data staging area? : Sas-di

608


What is maximum storage capability of SAS?

913


Differentiate input and infile.

602


How do you specify the number of iterations and specific condition within a single do loop?

628


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1668


explain the use of % includes a statement in sas? : Sas-administrator

553


What is the SAS data set?

679


Differentiate between sas functions and sas procedures.

648


What are the features of SAS?

586


Explain the use of proc print and proc contents?

562