Multiple choice technology mainframe

What is the purpose of DD DUMMY statement ?

  1. Marks a deleted DD statement

  2. Begins an interpreted command stream

  3. Specifies no space allocation & no disposition processing

  4. Suppress command processing

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

The DD DUMMY statement is used when you need a DD statement for syntactical reasons but don't want any actual data set allocation or disposition processing. It specifies no space allocation and bypasses all disposition processing. Option A is wrong - DUMMY doesn't mark deleted DDs. Option B describes commands like //*. Option D describes other DD statement types, not DUMMY.

AI explanation

The DD DUMMY statement in JCL is used to indicate that no actual space allocation or disposition processing should occur for that data definition — it's essentially a placeholder DD used to discard output or supply an empty input without touching real datasets. It doesn't mark deletion, begin a command stream, or suppress command processing, which describe unrelated JCL behaviors.