WHEN command operands

SYSRC
specifies the return code from the previous function (the previous command in the CLIST) is to be tested according to the values specified for operator and integer.
operator
specifies one of the following operators:
EQ or  = means equal to
NE or  ¬= means not equal to
GT or  > means greater than
LT or  < means less than
GE or  >= means greater than or equal to
NG or  ¬> means not greater than
LE or  <= means less than or equal to
NL or  ¬< means not less than
integer
specifies the numeric constant that the return code is to be compared to.
END
specifies processing is to be terminated if the comparison is true. If you do not specify a command, END is the default.
command_name
specifies any valid TSO/E command name and appropriate operands. If the comparison is true, TSO/E processes the command.

WHEN terminates CLIST processing and then executes the TSO/E command name specified.

Use successive WHEN commands to determine an exact return code and then perform some action based on that return code.