SAS_Institute
A00-211 · Question #140
Given the following raw data record: ----I----10---I----20---I----30 son Travis, The following output is desired: Obs relation firstname 1 son Travis Which SAS program correctly reads in the raw data?
The correct answer is C. data family; infile `file specification' dIm = `,'; input relation $ firstname $; run. See the full explanation below for the reasoning.
Question
Given the following raw data record:
----I----10---I----20---I----30 son Travis, The following output is desired:
Obs relation firstname 1 son Travis Which SAS program correctly reads in the raw data?
Options
- Adata family ( dIm =
,'); infiletile specification'; input relation $ firstname $; run; - Boptions dIm =
,'; data family; infilefile specification'; input relation $ firstname $; run; - Cdata family; infile
file specification' dIm =,'; input relation $ firstname $; run; - Ddata family; infile
file specification'; input relation $ firstname $ / dim =,'; run;
How the community answered
(23 responses)- A4% (1)
- B4% (1)
- C83% (19)
- D9% (2)
Community Discussion
No community discussion yet for this question.