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 are sas bi dashboard components? : Sas-bi

1118


what is the difference between infile and input? : Sas-administrator

1073


Difference between nodup and nodupkey options?

1118


How substr function works in sas?

1161


What is the difference between one to one merge and match merge? Give an example.

1007


How can you limit the variables written to output dataset in data step?

1254


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1633


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1309


Can you suggest us materials for sdtm mapping?

4392


Are you involved in writing the inferential analysis plan? Tables specfications?

2513


Given an unsorted data set, how to read the last observation to a new data set?

1296


What is the difference between input and infile statement?

1119


Describe 5 ways to do a “table lookup” in SAS?

1099


What is by-group processing?

953


what is program data vector? : Sas-administrator

1018