Joined: 14 Oct 2006 Posts: 14 Location: Appleton Wi USA
It depends on which Xpediter you are talking about. Xpediter/TSO for BATCH programs does have the ability to step backwards. The thing to keep in mind is that you are simply stepping backward thru a log of where you have been. So you can't change any of the variables or the execution path.
Xpediter/CICS for online programs does not have this ability.
To use Xpediter/TSO to step backwards, you need the MONITOR and REVERSE commands.
Start a new session and use MONITOR ALL (monitor all modules)
GO will get you to an abend statement,
F9 to singel step backwards
REVERSE (will switch to FORWARD)
RESUME (will get you back to the current execution pointer)
DELETE MONITOR ALL (to stop monitoring)
***monitoring is “expensive” because it has to keep track of all of the variables in Working Storage as they are at every line of code. So only use it when absolutely necessary and turn it off when you are done.