Name statements that are recognized at compile time only?

Answers were Sorted based on User's Feedback



Name statements that are recognized at compile time only?..

Answer / mallikarjuna reddy.vanna

retain,input,infile,informat,format etc.

Is This Answer Correct ?    7 Yes 0 No

Name statements that are recognized at compile time only?..

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

Name statements that are recognized at compile time only?..

Answer / nipun

FORMAT statement

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More SAS Interview Questions

why is sas considered self-documenting? : Sas programming

0 Answers  


Which function is used to count the number of intervals between two sas dates?

0 Answers  


libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak

7 Answers  


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.

0 Answers  


How do you write a test plan?

1 Answers   Oracle,






what is the difference between informat$8. $char8.

3 Answers   SAS,


In sas admin differentiate between roles and capabilities? : sas-grid-administration

0 Answers  


for what purpose would you use the retain statement? : Sas programming

0 Answers  


Describe the ways in which you can create a macro variable?

0 Answers  


what is null hypothesis? why do you consider that?

0 Answers   Accenture, Quintiles,


how many types of MERGE?

17 Answers   CitiGroup,


what are different type of sas servers ? On which server does the sas code execute ?

4 Answers   TCS,


Categories