nerdexam
SAS_Institute

A00-212 · Question #141

The following SAS program is submitted: filename sales ('external-file1' 'external-file2'); data new; infile sales; input date date9. company $ revenue; run; Which one of the following is the result…

The correct answer is C. The FILENAME statement associates SALES with external-file1 followed by external-file2. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

filename sales ('external-file1' 'external-file2'); data new; infile sales; input date date9. company $ revenue; run; Which one of the following is the result of including the FILENAME statement in this program?

Options

  • AThe FILENAME statement produces an ERROR message in the SAS log.
  • BThe FILENAME statement associates SALES with external-file2 followed by external-file1.
  • CThe FILENAME statement associates SALES with external-file1 followed by external-file2.
  • DThe FILENAME statement reads record 1 from external-file 1, reads record 1 from external-file 2,

How the community answered

(50 responses)
  • A
    6% (3)
  • B
    4% (2)
  • C
    78% (39)
  • D
    12% (6)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice