SAS_Institute
A00-202 · Question #68
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 o
The correct answer is B. 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 associates SALES with external-file2 followed by external-file1.
- BThe FILENAME statement associates SALES with external-file1 followed by external-file2.
- CThe FILENAME statement produces an ERROR message in the SAS log.
- DThe FILENAME statement reads record 1 from external-file 1, reads record 1 from external-file 2,
How the community answered
(21 responses)- A5% (1)
- B81% (17)
- C5% (1)
- D10% (2)
Community Discussion
No community discussion yet for this question.