Multiple choice technology mainframe

REXX has extended tracing possibilities, even interactively. Which command activates the interactive trace?

  1. TRACE R

  2. TRACE ?R

  3. TRACE IR

  4. INTTRACE R

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

In REXX, TRACE ?R enables interactive tracing/debugging mode. The '?' prefix makes trace interactive, allowing you to step through execution. TRACE R alone enables normal trace without interaction. TRACE IR and INTTRACE R are not valid REXX trace commands.

AI explanation

To answer this question, you need to understand the command used to activate the interactive trace in REXX.

Option A) TRACE R - This option is incorrect because the TRACE R command does not activate the interactive trace. Instead, it activates the trace for the execution of a REXX program.

Option B) TRACE ?R - This option is correct because the TRACE ?R command activates the interactive trace. The ? symbol is used to indicate an interactive trace in REXX.

Option C) TRACE IR - This option is incorrect because the TRACE IR command does not activate the interactive trace. Instead, it activates the trace for the execution of a REXX program.

Option D) INTTRACE R - This option is incorrect because the INTTRACE R command does not activate the interactive trace. Instead, it activates the internal trace for the execution of a REXX program.

The correct answer is B) TRACE ?R. This option is correct because it activates the interactive trace in REXX.