Status

The automatic recovery function gets control for an operation when the operation is set to status E (ended-in-error). If RESTART=Y is specified in the recovery statement that is invoked, an automatic restart is performed, and the status changes. This is the same procedure that would be followed if the operation were rerun using the MODIFYING THE CURRENT PLAN panel. This means that the operation that is selected as the restart point is set to status R, and succeeding operations are set to status W.

Note: This is not the case if you specify the RESTARTABLE attribute when you define an operation. In this case, the operation is replaced on the ready queue of its workstation with status code R.