What SAS statements would you code to read an external raw
data file to a DATA step?
Answer Posted / madhu
infile and input statements.
ex:
data m;
infile 'c:\m.txt';
input :xxxx;
run;
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What can be the size of largest dataset in SAS?
what do the pad and dim functions do? : Sas programming
describe about physical data integration? : Sas-di
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
which date function advances a date, time or datetime value by a given interval? : Sas programming
explain about sas business intelligence? : Sas-bi
What are the table names in oracle database...?
how can you put a "trace" in your program? : Sas programming
what is the difference between nodup and nodupkey options? : Sas programming
Difference between informat and format?
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
What is the difference between order and group variable in proc report?
Explain the difference between using drop = data set option in set and data statement?
Explain data step in SAS
Mention what are the data types does SAS contain?