Multiple choice technology programming languages

Given the following raw record: 07Jan2007 Which INFORMAT reads this raw date and stores it as a SAS date value?

  1. dmy9.

  2. date9.

  3. ddmmyy9.

  4. ddmmyyyy9.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The date9. informat is designed to read dates in the ddMMMyyyy format, such as 07Jan2007, where the month is a three-character abbreviation. Informats like ddmmyy9. and dmy9. are invalid SAS informats or cannot parse this specific alphabetical month representation correctly.