Premium

SAS Base Latest Interview Preparation (Q&A)



Question-: Which procedure we can use to check the descriptor information?

Answer: We can use ‘CONTENTS’ procedure to print the descriptor information about the Data sets.



Question-: New Dataset is created after compilation or execution?

Answer: Compilation step checks the errors, type information of the variable and creates PDV etc. It does not write any observation; new observation would only be written when execution phase started which process each record as a time.



Question-: As soon as execution phase completed two automatic variables _N_ and _ERROR_ also stored with the output Datasets?

Answer: No, these two variables are not stored with the newly created output Datasets.



Question-: The format to the variable is applied once the variables are added in the PDV during the execution phase?

Answer: No, the formats for each variable are applied before the SAS adds the values to the PDV. Even before each iteration PDV is reset to missing values.

Related Questions


Question-: Setting System options applies to?

Question-: If you want to process only observations between 3 and 10, how can you control that?

Question-: Can I override the system option in the current session for specific data step?

Question-: While using the SORT procedure, how the missing values are treated by default?

Question-: If you are sorting the data by multiple variables and put the DESCENDING keyword just before that first variable, what it does?

Question-: What is the problem if you don’t use the OUT= option in PROC sort?

Question-: What is the use of PAGEBY statement?

Question-: How many footnote and title we can assign?