Previous Topic

Next Topic

Book Contents

Book Index

DO TERMINAT: Automated Balancing Statement

Requests rule termination and specifies a condition code or user abend code. The rule is terminated after this statement.

Figure 227 DO TERMINAT Statement Format

Type the word TERMINAT (or its abbreviation T) next to the DO in the Rule Definition screen. When Enter is pressed, the = prompt and the following fields are displayed:

Table 248 DO TERMINAT Statement Fields

Field

Description

result

Determines the outcome of the balancing attempt. Mandatory. Possible result values are:

  • OK – Input is balanced. Execution is terminated with a condition code.
  • NOTOK – Input is not balanced and is not within reasonable tolerance levels. Execution is terminated with a condition code.
  • TOLER – Input is not balanced but is within reasonable tolerance levels. Execution is terminated with a condition code.
  • ABEND – Execution is terminated with a user abend code.

COD

Any valid condition code (or user abend code in case of result ABEND) between 0000 and 4000. Optional.

Parent Topic

Rule Definition