Multiple choice technology programming languages

To request that the system dump the storage occupied by a failing program, --- DD statement can code in the step to be dumped?

  1. SYSABEND

  2. SYSMDUMP

  3. SYSUDUMP

  4. Any of the above

  5. None

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

All three DD statements (SYSABEND, SYSMDUMP, and SYSUDUMP) are used to request storage dumps upon a program failure. They differ in the level of detail and format (formatted vs. unformatted), but any of them will trigger a dump.

AI explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) SYSABEND - This option is incorrect because SYSABEND is used to specify a user-written ABEND exit routine, not to request a system dump.

Option B) SYSMDUMP - This option is incorrect because SYSMDUMP is used to request a system dump for a dumpable program or address space. It is not specific to a failing program.

Option C) SYSUDUMP - This option is incorrect because SYSUDUMP is used to request a system dump for a dumpable program or address space. It is not specific to a failing program.

Option D) Any of the above - This option is correct because both SYSMDUMP and SYSUDUMP can be used to request a system dump for a failing program. Therefore, any of these options can be coded in the step to be dumped.

Option E) None - This option is incorrect because at least one of the options (SYSMDUMP or SYSUDUMP) can be used to request a system dump for a failing program.

The correct answer is D. Any of the above. This option is correct because either SYSMDUMP or SYSUDUMP can be coded in the step to be dumped.