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 followed by PARSE VALUE DATE DAY MONTH YEAR

  3. PULL DATE followed by PARSE VALUE DATE WITH DAY MONTH YEAR

  4. PULL DATE followed by PARSE VAR DATE DAY MONTH YEAR

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

In REXX, PULL reads from input and stores in a variable. Then PARSE VALUE parses that variable's contents into multiple named variables. Option B correctly shows pulling into DATE then parsing DATE into DAY, MONTH, YEAR. Option A uses PARSE PULL which reads input directly but doesn't handle the parsing pattern correctly for this date format.