Multiple choice technology programming languages

Which one is the valid statement? 1 SYSIN DD DSN=DUMMY 2 SYSIN DD * 3 SYSIN DD DUMMY 4 SYSIN DD DSN=NULLFILE

  1. ALL THE ABOVE

  2. ONLY 1 AND 2

  3. ONLY 2 AND 4

  4. ONLY 2, 3 AND 4

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

Valid SYSIN DD statements: (2) DD * begins instream data; (3) DD DUMMY points to a dummy dataset (no actual data needed); (4) DD DSN=NULLFILE specifies a null file. Option 1 (DD DSN=DUMMY) is invalid syntax - DUMMY isn't a dataset name, it's a special DD parameter. So 2, 3, and 4 are valid, making D correct.