Multiple choice technology mainframe

What is the purpose of DD * statement in JCL?

  1. Begins an input data prompt at the system console

  2. Begins an in-stream dataset

  3. Marks the end of a command stream

  4. Includes all datasets within a naming pattern

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

The DD * statement in JCL begins an in-stream dataset, meaning the data is included in the job input stream itself rather than in an external file. The data follows immediately after the DD * line and continues until a /* delimiter marks the end. This is commonly used for providing small amounts of input data directly within the JCL. Option A describes console prompting (which would be DD *. Option C ends data, not begins. Option D describes DD with wildcards, not DD *.