Multiple choice technology mainframe

'WHEN’ command is used to analyze the outcome of a program in XPEDITOR for a particular condition, syntax is given below WHEN , Here VARIABLE can be

  1. System time parameter and ‘X’ is the time

  2. A storage variable which is used in the program for which the program behavior changes differently for different values and ‘X’ is one of the possible value

  3. A storage variable which is used in the program for which the program behavior changes differently for different values and ‘X’ is one of the non-possible value

  4. None of the above

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

The WHEN command in XPEDITOR allows analyzing program behavior when a specific variable equals a particular value. VARIABLE is a storage variable from the program, and 'X' is one of the possible values that causes different program behavior. Option B correctly describes this - it's for conditional analysis based on program variables.

AI explanation

In the WHEN syntax, VARIABLE refers to a storage variable used within the program whose value drives different behavior paths, and 'X' is one of the actual values that variable can take — the command tells XPEDITOR to break or trace when that condition becomes true. It isn't a system time parameter, and referencing a value the variable can never take would make the condition meaningless.