nerdexam
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 = ,'); infile tile specification'; 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

(23 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    83% (19)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice