nerdexam
SAS_Institute

A00-211 · Question #45

The following SAS program is submitted: data WORK.ACCOUNTING; set WORK.DEPARTMENT; length EmpId $6; CharEmpid=EmpId; run; If data set WORK.DEPARTMENT has a numeric variable EmpId. Which statement is…

The correct answer is D. The program fails to execute due to errors. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

data WORK.ACCOUNTING; set WORK.DEPARTMENT; length EmpId $6; CharEmpid=EmpId; run; If data set WORK.DEPARTMENT has a numeric variable EmpId. Which statement is true about the output dataset?

Options

  • AThe type of the variable CharEmpid is numeric.
  • BThe type of the variable CharEmpid is unknown.
  • CThe type of the variable CharEmpid is character.
  • DThe program fails to execute due to errors.

How the community answered

(30 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    3% (1)
  • D
    83% (25)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice