Multiple choice technology mainframe

If I want to fill the variable DAY with '01', the variable MONTH with 'January' and the variable YEAR with '2009', which would be a correct way to do so, if the data '01 January 2009' is read from the input screen?

  1. PARSE PULL DAY MONTH YEAR

  2. PULL DATE PARSE VALUE DATE DAY MONTH YEAR

  3. PULL DATE PARSE VALUE DATE WITH DAY MONTH YEAR

  4. PULL DATE PARSE VAR DATE DAY MONTH YEAR

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

The PARSE PULL instruction reads a line of input from the terminal or stack and splits it into space-delimited variables. For the input '01 January 2009', it assigns '01' to DAY, 'January' to MONTH, and '2009' to YEAR.