Premium

SAS Base Latest Interview Preparation (Q&A)



Question-: With the PROC SORT step which is statement is mandatory?

Answer: The ‘BY’ statement is mandatory.



Question-: What is the default output look like for the PRINT proc?

Answer: By PROC PRINT displays all observations and variables in the data set, a column for observation numbers on the far left, and variables in the order in which they occur in the data set.



Question-: During the compilation phase of DATA step what SAS creates?

Answer: During the compilation phase SAS creates the following items.
- Program Data Vector
- Descriptor information



Question-: Is it true that PDV (Program Data vector) holds all the observations and then at the end of Data step it written to new Data set?

Answer: No, program data vector at a time contain only one observation which is being processed and as soon as processing is done. It is saved and next observation would be added in the program data vector.

Related Questions


Question-: How does SAS find that current step is ended?

Question-: When you submit the SAS program and you get the error message like “A Quoted String has become too long or that the statement is ambiguous� what does that mean?

Question-: Is that true when SAS program has syntax error, it would be compiled but execution fails?

Question-: If you have used invalid option in the SAS statement SAS program will ignore that?

Question-: What is the difference between PUTLOG and PUT statement?

Question-: In the PROC PRINT report, how can you use data value as an observation column?

Question-: How many “WHERE� statement you can have in a step?

Question-: What is the use of CONTAINS operator?