Once the compound procedure class is loaded, you can declare the procedure. You declare a compound procedure using the CREATE COMPOUND PROCEDURE FROM CLASS statement. For example:
CREATE COMPOUND PROCEDURE FROM CLASS devices.ProcessMessage;
The procedure takes its name from the unqualified class name (in this case, ProcessMessage
) and is
case sensitive. Because compound procedures can call both multi-partitioned and partitioned procedures, you cannot partition
the procedure.