Notifications
Clear all
Topic starter
Given the SAS data set WORK.ORDERS:
Ship_date is a numeric variable containing a SAS data value. A programmer would like to create a new character variable Ship_date-char that represents the ship date as a character string, such as “February 2,2009’
Which statement will create the new variable Ship_date_char as a character value with a format such as “February 2, 2009”?
- A . Ship_date_char = input(Ship_date, date9.,worddate20.);
B. Ship_date_char = put(Ship_date, date9.,worddate20.);
C. Ship_date_char = input(Ship_date,worddate20.);
D. Ship_date_char = put(Ship_date,worddate20.);
Suggested Answer: D
Posted : 05/02/2023 6:18 am