User exits for transaction backout
You can include your own logic in global user exit programs that run during dynamic transaction backout and during backout at an emergency restart.
There are exits in the file control recovery control program, and in the user log record recovery program (which is driven at emergency restart only). Transient data and temporary storage backouts do not have any exits.