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 / enr

To create csv file,we have to open notepad.then ,declaring
the variables.then save the file.like enr.csv
SYNTAX: proc import datafile='external file'
out=<dataset name> dbms=csv replace;
getnames=yes;
proc print data=<dataset name>
run;
eg:proc import datafile='E:\enr.csv'
out=sai
dbms=csv replace;
getnames=yes;
proc print data=sai;
run;

Is This Answer Correct ?    32 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do the mod and int function do? What do the pad and dim functions do? : Sas programming

1175


Difference between informat and format?

1100


How sas treats the dsd delimiters?

1219


What are common programming errors committed in sas

1153


What does P-value signify about the statistical data?

1369


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

1158


Explain the special input delimiters used in sas programming.

1012


how can you put a "trace" in your program? : Sas programming

1070


how to change the execute of macro

2317


Give e an example of..

2105


what is the difference between nodup and nodupkey options? : Sas programming

1198


what is the difference between floor and ceil functions in sas? : Sas-administrator

1265


Differences between where and if statement?

1099


how does sas handle missing values in procs? : Sas programming

1262


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

2495