Name statements that are recognized at compile time only?
Answer Posted / pratik singh jageera
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 |
Post New Answer View All Answers
How to limit decimal places for variable using proc means?
Hello, I have PROC SQLs results group by 3 fields and I use SUM and COUNT functions in SQL. The problem is when I try to display my result with PROC TABULATE. I am getting very big numbers. I believe I make a mistake some where in Tabulate. Here is my Proc Tabulate. PROC TABULATE DATA=OUT04_05 FORMAT=12.; CLASS YR CENTRE VISA / PRELOADFMT EXCLUSIVE; VAR NEWUSER FRAUD TRANSFER AUTUSER REISSUE; TABLE CENTRE ALL, (YR ALL)*VISA, (NEWUSER*F=COMMA12. AUTUSER*F=COMMA12. FRAUD*F=COMMA12. TRANSFER*F=COMMA12. REISSUE*F=COMMA12.) / MISSTEXT={LABEL='0'} PRINTMISS RTS=20; FORMAT VISA VISAFMT.; KEYLABEL SUM = ' ' ALL = 'TOTAL'; LABEL YR = 'DATE YEAR' NEWUSER = 'TOTAL NEW ACCT' TRANSFER = 'TOTAL TRANSFER' FRAUD = 'TOTAL FRAUD TRANSFER' AUTUSER = 'TOTAL AUTH USERS' REISSUE = 'TOTAL REISSUE'; When I code it like : NEWUSER*N*F=COMMA12. AUTUSER*N*F=COMMA12. I get same amount numbers but to find a NEWUSER I use COUNT(*) and to find AUTUSER I use SUM(xxxx) function so both result shouldn’t be the same my problem is in this point. Could you tell me where the problem in code is. How can I display my result? TX.
How to create a permanent sas data set?
To what type of programms have you used scratch macros?
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
What makes sas stand out to be the best over other data analytics tools?
Which statement does not perform automatic conversions in comparisons?
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
Describe a time when you were really stuck on a problem and how you solved it?
How would you include common or reuse to be processed along with your statements?
What is run-group processing?
What is the purpose of trailing @ and @@? How do you use them?
Intern stastical programmer written test
What is the basic structure of a sas program?
What is maximum number of rows and cols can be handled in SAS?