Previous Topic: ABORT TRANSACTION StatementNext Topic: RETRY TRANSACTION Statement


Add an Abort Transaction Action Statement

You can use the ABORT TRANSACTION statement after a WHEN DATABASE ERROR statement, as well as, anywhere within an Action Diagram. It is automatically added after a WHEN DATABASE ERROR statement.

Follow these steps:

  1. Click Analysis or Design, Action Diagram.

    The Action Diagram Names dialog appears.

  2. Select a process from the Processes list.
  3. Select an action block from the Action Blocks list and click OK.

    The entity action statements are displayed in the Action Diagram window.

  4. Right-click on the location in the entity action statements after which you need to add action and click Edit, Add Statement, Abort Transaction.

    The Add Statement dialog appears.

  5. Complete the expression by choosing from last database error message, char string, character view, function (char), or spaces.
  6. Click Add.

    The Abort Transaction statement is added to the action block.