Premium

SAS Base Latest Interview Preparation (Q&A)



Question-: How do you specify the input dataset for a procedure?

Answer: Many Base SAS procedure requires input SAS dataset, you can specify the input SAS dataset by using the DATA= option in the procedure statement as below.
proc print data=he_data
If we omit the data= option the procedure uses the value of the SAS system option _LAST_= which represent the most recently created SAS dataset in the current session.



Question-: What do you mean by threaded processing of SAS Base procedure?

Answer: Run small tasks in parallel or concurrently to improve the performance. Using the threaded processing enables multiple pieces of the executable code to run simultaneously, many SAS procedure specially in SAS/STAT and HPA (High performance Analytics) procedure supports the threaded processing. But keep in mind not all procedure supports the threaded processing.



Question-: Why ODS was introduced and what is the use of it?

Answer: ODS stands for Output delivery System, which gives you the flexibility in generating, storing and reproducing SAS procedure and DATA step output, ODS provides the formatting capability which is not available from individual procedures or from the DATA step alone. ODS overcomes these limitations and enables you to format your output more easily.



Question-: What is the use of QUIT statement?

Answer: QUIT statement executes the any statement which is not yet executed and ends the procedure.

Related Questions


Question-: What is the non-interactive mode to run the SAS program?

Question-: What is the major difference between batch mode and interactive mode?

Question-: Can you please explain again the Proc step?

Question-: Can you please explain the Data step in more detail?

Question-: Data step should always be followed by proc step?

Question-: Can we create a new SAS Data set from existing SAS Data set?

Question-: Why do you need Data step followed by another Data step sometime?

Question-: In the SAS dataset we know rows are called observation and column name are variables, but what are those in raw file?