Prepared transactions that were coordinating using MSDTC are rolled forward or backward depending on the commit status of the master transaction.
During recovery, SAP ASE initiates contact with MSDTC to determine the commit status of the master transaction, and commits or rolls back the prepared transaction accordingly. If it cannot contact MSDTC, the recovery procedure waits until contact is established. Further recovery does not take place until SAP ASE has established contact with MSDTC.