ALLBASE/SQL Reference Manual (36216-90216)

Chapter 12 535
SQL Statements S - Z
SET PRINTRULES
Authorization
You must have DBA authority.
Example
The DBA enables the issuing of messages when rules fire.
SET PRINTRULES ON
The DBA issues statements that fire rules.
INSERT INTO PurchDB.Parts VALUES (9213, 'Widget', 12.95)
Rule PurchDB.InsertParts fired on INSERT statement. (DBWARN 2021)
The DBA disables the issuing of messages when rules fire.
SET PRINTRULES OFF