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

explain about various caches available in data integrator? : Sas-di

991


In proc transpose and data step with arrays which one you pick?

3039


what are 5 ways to perform a table lookup in sas? : Sas-administrator

1177


how will you locate the sas platform applications? : Sas-bi

978


what is the primary data source for the wrs? : Sas-bi

1132


Explain translate function?

1127


What do the put and input function do?

999


How many ways to overcome a missing values???

2749


How does proc sql work?

1022


What is the difference between INPUT and INFILE ?

1237


What is a macro routine?

2637


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1129


what are the categories that sas informats are used to the place the data? : Sas-administrator

988


Name validation tools used in SAS

1100


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

1063