Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

how do you test for missing values? : Sas programming

1060


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

1255


How do you use the do loop if you don’t know how many times you should execute the do loop?

1266


what is sas application server? : Sas-di

1085


What do you know about symput and symget?

1258


Mention the difference between ceil and floor functions in sas?

1159


What is the difference between match merge and one to one merge?

1254


What are the implications?

1720


What is the difference between INPUT and INFILE ?

1329


how to read the variables in sas? : Sas-administrator

1025


How is character variable converted into numeric variable and vice versa?

1182


what is sas and what are the functions? : Sas-administrator

992


What are the parameters of scan function?

1179


For clinical entire study how many tables will create approx?

1973


how many display types available in sas bi dashboard? : Sas-bi

1089