Question 2:

 The following SAS DATA step is submitted:

data sasdata.allahabad

sasdata.bhilai

work.portblair

work.pune;

set company.prdsales;

if region = 'NE' then output bhilai;

if region = 'SE' then output allahabad;

if region = 'SW' then output pune;

if region = 'NW' then output portblair;

run;

Which one of the following is true regarding the output data sets?

 

  1. No library references are required
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Correct Answer : 4

 Exp : SAS automatically assigns the lib Work when a lib is not specified. If you want to assign your data set to a libname other than Work, you must explicitly define (point to a location in a LIBNAME statement) the library before it can be assigned

 output bhilai; (sasdata.allahabad)

 output allahabad; (sasdata.bhilai)

You can access to full explanation to question and answer from this page.