nerdexam
SAS_Institute

A00-211 · Question #49

A00-211 Question #49: Real Exam Question with Answer & Explanation

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

Question

Given the SAS data set WORK.ORDERS: The variable order_id is numeric; customer is character; and shipped is numeric, contains a SAS date value, and is shown with the DATE9. format. A programmer would like to create a new variable, ship_note, that shows a character value with the order_id, shipped date, and customer name. For example, given the first observation ship_note would have the value "Order 9341 shipped on 02FEB2009 to Josh Martin". Which of the following statement will correctly create the value and assign it to ship_note?

Options

  • Aship_note=catx(' ','Order',order_id,'shipped on',input(shipped,date9.),'to',customer);
  • Bship_note=catx(' ','Order',order_id,'shipped on',char(shipped,date9.),'to',customer);
  • Cship_note=catx(' ','Order',order_id,'shipped on',transwrd(shipped,date9.),'to',customer);
  • Dship_note=catx(' ','Order',order_id,'shipped on',put(shipped,date9.),'to',customer);

Unlock A00-211 to see the answer

You've previewed enough free A00-211 questions. Unlock A00-211 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-211 Practice