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


Please Help Members By Posting Answers For Below Questions

What is the use of divide function?

800


what is the use of proc contents and proc print in sas? : Sas-administrator

840


Difference between informat and format?

858


Which statement does not perform automatic conversions in comparisons?

1461


which date function advances a date, time or datetime value by a given interval? : Sas programming

806


which features do you use to check the data validations and errors? : Sas-administrator

811


explain what is data set in sas? : Sas-administrator

733


I have a dataset concat having variable a b & c. How to rename a b to e & f?

805


Compare sas with other data analytics tools.

801


What are the default statistics that proc means produce?

798


Mention what is PROC in SAS?

827


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.

2032


If money were no object, what would you like to do?

2906


What are the statements in proc sql?

807


Explain translate function?

863