nerdexam
SAS_Institute

A00-201 · Question #58

Which one of the following SAS DATA steps saves the temporary data set MYDATA as a permanent data set?

The correct answer is D. libname sasdata 'SAS-data-library'; data sasdata.mydata; set mydata; run. See the full explanation below for the reasoning.

Question

Which one of the following SAS DATA steps saves the temporary data set MYDATA as a permanent data set?

Options

  • Alibname sasdata 'SAS-data-library'; data sasdata.mydata; copy mydata; run;
  • Blibname sasdata 'SAS-data-library'; data sasdata.mydata; set mydata; run;
  • Clibname sasdata 'SAS-data-library'; data sasdata.mydata; keep mydata; run;
  • Dlibname sasdata 'SAS-data-library'; data sasdata.mydata; set mydata; run;

How the community answered

(32 responses)
  • A
    13% (4)
  • B
    6% (2)
  • C
    3% (1)
  • D
    78% (25)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice