Class-of-procedure-invocation attribute has the value procedure-invocation, or any subclass of that class.
To abort a procedure or procedure invocation:
abort {procedure | method | procedure-invocation | method-invocation}
filling is a user-defined relation.
![]() |
For a description of procedures and procedure invocations, see Chapter 21, Procedures.
Aborting a Procedure or Method
To use the abort procedure action:
abort procedure
the or every
abort this procedure only within a procedure or method. When you abort a procedure, G2 aborts all invocations of that procedure.
To abort a procedure or method invocation:
abort procedure-invocation
every. When you abort a procedure-invocation, G2 aborts only the particular invocation. For example, you can refer to a procedure-invocation from within a procedure or method as this procedure-invocation, or you can specifically identify the procedure-invocation. If you reference the method by using the class::method syntax, invoking the abort action that way aborts all invocations of the method.
To refer to a procedure-invocation, the
Class-of-procedure-invocation attribute of the procedure or method must have the value procedure-invocation.