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 / 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 sas metadata server? : Sas-di

1044


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

2055


Describe the function and utility of the most difficult SAS macro that you have written?

2473


What is slibref?

1207


What are the functions used for character handling?

1167


How do you debug and test your SAS programs?

1496


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1547


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3527


what is the purpose of _error_? : Sas programming

1070


where to use sas business intelligence? : Sas-bi

999


What is the role of administrative users? : sas-grid-administration

1019


What is the function of Stop statement in a SAS Program?

1086


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

938


How are numeric and character missing values represented internally?

1603


What is the difference between INPUT and INFILE ?

1234