What SAS statements would you code to read an external raw
data file to a DATA step?
Answer Posted / sankar
using proc import procedure
synatax :for text file
proc import datafile='path' out=datasetname
dbms=dlm;
delimiter='specific delimiter';
run;
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the use of divide function?
what is the use of proc contents and proc print in sas? : Sas-administrator
Difference between informat and format?
Which statement does not perform automatic conversions in comparisons?
which date function advances a date, time or datetime value by a given interval? : Sas programming
which features do you use to check the data validations and errors? : Sas-administrator
explain what is data set in sas? : Sas-administrator
I have a dataset concat having variable a b & c. How to rename a b to e & f?
Compare sas with other data analytics tools.
What are the default statistics that proc means produce?
Mention what is PROC in SAS?
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.
If money were no object, what would you like to do?
What are the statements in proc sql?
Explain translate function?