SAS_Institute
A00-211 · Question #19
The following SAS program is submitted: libname temp `SAS data library'; data temp.sales; merge temp sales work.receipt; by names; run; The input data files are sorted by the NAMES variable: What is…
The correct answer is B. The program executes successfully and a permanent SAS data set is created. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
libname temp `SAS data library'; data temp.sales; merge temp sales work.receipt; by names; run; The input data files are sorted by the NAMES variable:
What is the result?
Options
- AThe program executes successfully and a temporary SAS data set is created.
- BThe program executes successfully and a permanent SAS data set is created.
- CThe program fails execution because the same SAS data set is referenced for both read and write
- DThe program fails execution because the SAS data sets on the MERGE statement are in two different
How the community answered
(35 responses)- A3% (1)
- B77% (27)
- C14% (5)
- D6% (2)
Community Discussion
No community discussion yet for this question.