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...

1 new york 7,262,700
2 los angeles 3,259,340
3 philadelphia 1,642,900

how to read the above data using input statement
consider the above data is in txt format externally
u have to use infile and input statement.

Answer Posted / poornima

data poo;
infile 'D:\poo.txt ';
input rank country $ 12. salary ;
INFORMAT SALARY COMMA10.;
FORMAT SALARY COMMA10.;
run;

proc print;
run;

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some categories in sas 9? : sas-grid-administration

1026


what is sas metadata repository? : Sas-bi

1173


what is function of retain statment

2083


What is interleaving in SAS?

1177


name several ways to achieve efficiency in your program? : Sas programming

1141


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1544


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

3174


How do dates work in SAS data?

1227


Explain how you can debug and test your SAS program?

1051


what is business intelligence? : Sas-bi

1108


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

1284


name the scheduler for scheduling job and explain the scheduler? : Sas-di

1093


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

1296


Do you need to rearrange the order of the data for the report?

2360


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

2177