OpenTP1 Version 7 Programming Reference COBOL Language

[Contents][Index][Back][Next]

ROLLBACK - Enable MHP rollback

Format

PROCEDURE DIVISION specification

ROLLBACK    [WITH STOPPING] .

Description

ROLLBACK enables the following CALL interface facility:

The ROLLBACK statement used from an SPP is ignored. The ROLLBACK statement is ignored if it is used from an MHP with the nontransaction attribute.

Item specified in the communication statement

WITH STOPPING clause

Specify this clause to stop returning control to an MHP when the MHP is terminated abnormally. Omit this clause to return control to the MHP. If the ROLLBACK statement with this clause omitted is used before a message is received, the ROLLBACK statement is ignored.

Status codes

There is no status code of the ROLLBACK statement.