What SAS statements would you code to read an external raw
data file to a DATA step?
Answer Posted / sastechies
We use SAS statements –
FILENAME – to specify the location of the file
INFILE - Identifies an external file to read with an INPUT
statement
INPUT – to specify the variables that the data is
identified with.
Read more: http://sastechies.blogspot.com/2009/11/sas-
interview-questions.html
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
In sas, what are the areas that you are most interested in? : sas-grid-administration
In ARRAY processing, what does the DIM function do?
What does proc print, and proc contents are used for?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
Hi, If anyone has base SAS certification dumps, please share.
What is the use of stop statement?
How to create an external dataset with sas code?
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
what other sas products have you used and consider yourself proficient in using? : Sas programming
What is the maximum length of the macro variable?
Describe the function and untility of the most difficult SAS macro that you have written.
What do you code to create a macro? : sas-macro
What would be the value of month at the end of data step execution and how many observations would be there?
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 are the new features included in the new version of SAS Programming Language?