how can u import .csv file in to SAS?tell Syntax?
Answer Posted / shruthi
data DatasetName(drop = If any);
infile 'Path\CSVFileName.csv' delimiter = ',' ;
informat Var1 $2.;
informat Var2 anydtdte21.;
format Var1 $2.;
format Var2 anydtdte21.;
Input
Var1 $
Var2 $;
run;
Is This Answer Correct ? | 14 Yes | 7 No |
Post New Answer View All Answers
Can you execute a macro within a macro? Describe. : sas-macro
How do dates work in SAS data?
what is the difference between infile and input? : Sas-administrator
What are the differences between sum function and using “+” operator?
what r the job openings SAS for fresher graduates !
what are some good sas programming practices for processing very large data sets? : Sas programming
How to create an external dataset with sas code?
Name and describe few sas character functions that are used for data cleaning in brief.
what do the pad and dim functions do? : Sas programming
what are informats in sas? : Sas-administrator
What is data _null_?
how does sas handle missing values in a merge? : Sas programming
What do you know about sas data set?
how to change the execute of macro
What is the length assigned to the target variable by the scan function?