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

What is the basic syntax of a sas program?

1263


How can I remove header from output data set?

2665


what does the run statement do? : Sas programming

1102


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

1041


What are the automatic variables for macro? : sas-macro

1325


how do you want missing values handled? : Sas programming

1012


How long can a macro variable be? A token? : sas-macro

1264


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

1301


what is information maps?

2280


List out some key concept of SAS

1207


What do the PUT and INPUT functions do?

1386


What Proc glm does?

1138


What is the use of function Proc summary?

1344


How many ways to overcome a missing values???

2865


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

3235