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 |
Explain what is SAS informats?
I have 2 data sets A & B. Both have a variable called Age in them, each of them specifying a different functionality. In my program I use bot these data sets. How do I specify which Age variable I want to use?
Tell e how how dealt with..
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
You have a data set of 100 observations,how can you restrict the output so that the output has only data from row no. 10 to row no. 20
what is function of retain statment
What do you feel about hardcoding?
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
Name statements that function at both compile and execution time.
what is hash files in sas and why we are using this one in sas?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
If you could design your ideal job, what would it look like?