![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
The EXECUTE statement starts a new transaction to invoke a rule. Upon completion, control passes to the next action in the original transaction. Like the CALL statement, the EXECUTE statement can invoke a rule directly or indirectly.
• The executed rule can be a rule in the installation library, system library, or the local library you are using for your session when you execute it, or it can be a shareable tool. Refer to Chapter 13, Using Rules Libraries for more information about rules libraries. Refer to Chapter 16, Processing in Standard Execution Mode for more information about rules execution.
• You can invoke the rule directly or indirectly. Refer to Indirect Referencing for additional information.
•
• Example 1 directly invokes the EXECUTE EMPLOYEE_COUNT rule and passes in the argument value 10.
• Example 2 indirectly invokes the rule whose name is the value of the field ROUTINE of the table FCNKEYS.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |