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 is transformation in sas data integration? : Sas-di

549


what are sas/access and sas/connect? : Sas programming

546


How necessary is it to be creative in your work?

2018


What are the new features included in the new version of SAS Programming Language?

733


Differentiate between ceil and floor functions.

656






What is a macro routine?

2101


What do you understand by the term Normal Distribution?

570


what versions of sas have you used (on which platforms)? : Sas programming

580


What would be the value of month at the end of data step execution and how many observations would be there?

573


What is maximum storage capability of SAS?

904


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?

1159


If money were no object, what would you like to do?

2684


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

1577


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1321


How to limit decimal places for variable using proc means?

587