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 / solasa
data cityrank;
infile 'D:\miths data\Mithelesh\cityrank.txt' ;
input rank city & $12. amoutnt comma10.;
run;
proc print data=cityrank;
run;
problem with amount varible
tell what to do?
Is This Answer Correct ? | 3 Yes | 12 No |
Post New Answer View All Answers
how will you locate the sas platform applications? : Sas-bi
explain what is data set in sas? : Sas-administrator
What are the difference between ceil and floor functions in sas?
What is the basic syntax of a sas program?
why is a stop statement needed for the point=option on a set statement? : Sas programming
Mention what is the difference between nodupkey and nodup options?
how to debug and test the sas program? : Sas-administrator
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
Explain substr function?
what has been your most common programming mistake? : Sas programming
what does the run statement do? : Sas programming
For clinical entire study how many tables will create approx?
Mention some common errors that are usually committed in sas programming.
Mention the validation tools used in SAS?
explain about sas business intelligence? : Sas-bi