Name statements that are recognized at compile time only?
Answers were Sorted based on User's Feedback
Answer / mallikarjuna reddy.vanna
retain,input,infile,informat,format etc.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / suresh b anisetty
All compile time activities are un-conditions only exists
at execution time.
LABEL,KEEP,DROP,RENAME,LENGTH,FORMAT,INFORMAT,ATTRIB,BY,WHER
E and ARRAY are all compile time only statements, however
LABEL is the statement that can be place any where with in
the DATA step
| Is This Answer Correct ? | 4 Yes | 0 No |
What are the data types that sas contain?
What is the use of the %include statement?
How do dates work in SAS data?
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 is the difference between reading data from an external file and reading data from an existing data set?
How are numeric and character missing values represented internally?
What SAS statements would you code to read an external raw data file to a DATA step?
What are _numeric_ and _character_ and what do they do?
What are the implications?
sas macros
Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks
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.