Question-146: 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-147: 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-148: 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.

 

Question-149: 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-150: 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.