A procedure can return more than one result set to the calling environment.
The method for returning multiple result sets differs for dbisql and dbisqlc.
See ”Returning multiple result sets from procedures” in SQL Anywhere Server - SQL Usage.