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 SAS data set?
What is the role of administrative users? : sas-grid-administration
what is enterprise guide? What is the use of it? : Sas programming
what is snowflake schema? : Sas-di
what is sas olap server? : Sas-di
how to do user inputs and command line arguments in sas?
for report generation which one you used proc report or data_null_?
how many types of prompts are there? : Sas-bi
Difference between nodup and nodupkey options?
What do you understand by the term Normal Distribution?
What does PROC print, and PROC contents do?
What is the basic structure of a sas program?
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.
How do dates work in SAS data?
How do you delete duplicate observations in sas?