Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Commit and rollback services of z/OS Batch Runtime z/OS Batch Runtime Planning and User's Guide SA23-1376-00 |
|
PL/I and COBOL invokes Batch Runtime methods for commit and rollback. For PL/I and COBOL applications, z/OS Batch Runtime offers callable procedures for commit and rollback of a transaction. Before committing the unit of work, z/OS Batch Runtime invokes the beforeCompletion method on the JDBC to indicate the start of the commit. (This in turn invokes the z/OS® RRS Commit_UR service to commit the transaction.) After the commit transaction is committed, z/OS Batch Runtime invokes the afterCompletion method on the JDBC to indicate the completion of the commit. Before processing the rollback transaction, z/OS Batch Runtime invokes the beforeCompletion method on the JDBC to indicate the start of the rollback. (This in turn invokes the z/OS RRS Backout_UR service to back out the transaction.) After the rollback transaction is completed, z/OS Batch Runtime invokes the afterCompletion method on the JDBC to indicate completion of the rollback |
Copyright IBM Corporation 1990, 2014
|