SAS_Institute
A00-201 · Question #84
25: A raw data record is listed below: |-----10----|----20----|----30 s on,Travis The following output is desired: relation firstName son Travis Which one of the following SAS programs reads the…
The correct answer is C. data family; infile 'file-specification' dim = ''; input relation $ firstname $; run. See the full explanation below for the reasoning.
Question
25: A raw data record is listed below:
|-----10----|----20----|----30 s
on,Travis
The following output is desired:
relation firstName
son Travis
Which one of the following SAS programs reads the data correctly?
Options
- Adata family / dim = ''; input relation $ firstname $; run;
- Boptions dim = ''; data family; infile 'file-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
(35 responses)- A6% (2)
- B17% (6)
- C71% (25)
- D6% (2)
Community Discussion
No community discussion yet for this question.