nerdexam
SAS_Institute

A00-280 · Question #25

The data set CM has eight variables including CMTRT and is sorted by STUDYID USUBJID CMSEQ. DATA_BB is created by selecting records from CM where the character string "BLOCKER" is included in CMTRT. A

Sign in or unlock A00-280 to reveal the answer and full explanation for question #25. The question stem and answer options stay visible for context.

Question

The data set CM has eight variables including CMTRT and is sorted by STUDYID USUBJID CMSEQ. DATA_BB is created by selecting records from CM where the character string "BLOCKER" is included in CMTRT. Alphabetical List of Variables and Attributes

Variable Type Len Label

1 CMSTDTC Char 18 Start date/Time of Medication 2 CMTRT Char 200 Reported Name of Drug, Med, or Therapy 1 USUBJID Char 40 Unique Subject Identifier SortedBy USUBJID CMSTDTC Which program was used to produce WORK.DATA_BB?

Options

  • Aproc sort data=cm out=data_bb (keep=usubjid cmstdtc cmtrt); by usubjid cmstdtc; SAS Institute A00-280 : Practice Test where cmtrt in('BLOCKER'); run;
  • Bproc sort data=CM (keep=usubjid cmstdtc cmtrt) out=data_bb; by usubjid cmstdtc; where cmtrt contains 'BLOCKER'; run;
  • Cdata data_bb; set cm (where=(find(cmtrt, 'BLOCKER', 'i')>0)); by usubjid cmstdtc; run;
  • Ddata data_bb; set cm (keep=usubjid cmstdtc cmtrt); by usubjid cmstdtc; where cmtrt in('BLOCKER'); run;

Unlock A00-280 to see the answer

You've previewed enough free A00-280 questions. Unlock A00-280 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full A00-280 Practice