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

where are dashboard components are created and maintained? : Sas-bi

1013


explain about data integrator metadata reports? : Sas-di

1110


What was the last computer book you purchased? Why?

2374


How do you control the number of observations and/or variables read or written?

1252


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

2082


what can you learn from the sas log when debugging? : Sas programming

1089


how do you debug and test your sas programs? : Sas programming

1131


What are the parameters of scan function?

1177


Explain the main difference between the sas procedures and functions? : Sas-administrator

1076


If a variable contains only numbers, can it be a character data type?

1087


What is the difference between %put and symbolgen? : sas-macro

1240


Describe a time when you were really stuck on a problem and how you solved it?

2639


What are the functions which are used for character handling functions?

1146


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

2129


explain the difference between proc means and proc summary?

1129