Premium

SAS Base Latest Interview Preparation (Q&A)



Question-: Which of the proc you can use to check the contents of the SAS Library and what all the information you check with that?

Answer: To check the contents of a particular SAS library we can use the “CONTENTS� proc, which can give following information.
- What all are the contents in the library (all the SAS Data files)
- Descriptor information for each SAS Data set in that library.



Question-: Using CONTENTS proc, which variable you can use to list all the files in a SAS library?

Answer: We can use ._ALL_ to list all the files in a library which is represented by libref.



Question-: What is the use of NODS in the CONTENTS proc?

Answer: Using the NODS you can suppress the detailed information about each file when you use ._ALL_



Question-: How does DATASETS proc is different than CONTENTS proc?

Answer: Yes, this is true you can use DATASETS proc as well to view the contents of the SAS library or a SAS Data sets. But DATASETS proc has additional data management capabilities like copying, deleting and modifying SAS files. And to end the DATASETS proc you would be using QUIT statement.

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?