Name statements that are recognized at compile time only?
Answers were Sorted based on User's Feedback
Answer / dupe
Array statements are also compile time only statements
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / vijay
sirisha thanx for the answers,
but i believe all the global statements (wht u mentioned )
including options, title, footnote statements; will work at
both compile and execution time..
only compile drop, keep,
rename,label,format,informat,attrib, where,by, retain,
length statements are comile time statements only
Is This Answer Correct ? | 10 Yes | 1 No |
Apart from doing numerous tasks during the compilation phase..
SAS also processes statements which are limited to compile time.These statements provide information to the compiler as to how the things will be set up in the PDV.they include
drop keep rename retain array by where attrib length format label.it also sets up automatic variables:
_N_ _ERROR_ IN= END= POINT= FIRST. LAST.
Is This Answer Correct ? | 0 Yes | 0 No |
What do you feel about hardcoding?
how to remove the duplicates by proc sql?
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
what can you learn from the sas log when debugging? : Sas programming
/*i have the following dataset.*/ data score; input marks ; datalines; 10 20 30 40 50 60 70 80 90 100 ; run; Now i should get the result as sum of 1 to 5 i.e(10+20+30+40+50)=150 and 2 to 6 i.e(20+30+40+50+60)=200 and 3 to 7 i.e(30+40+50+60+70)=250 and so on. how to get it. thanks in advance
What is the pound sign used for the DATA _NULL_?
This entry was posted in General. Bookmark the permalink. Post a comment or leave
How would you keep from overlaying the a SAS set with its sorted version?
what other sas products have you used and consider yourself proficient in using? : Sas programming
If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?
How would you delete duplicate observations?
name several ways to achieve efficiency in your program? : Sas programming