8. OpenSQL Statements : CALL : CALL Examples
 
Share this page                  
CALL Examples
1. Run a default report on the employee table in the column mode.
EXEC SQL COMMIT;
EXEC SQL CALL report (DATABASE='personnel',
     NAME='employee', MODE='column');
2. Run QBF in the append mode with the QBF name expenses, suppressing verbose messages.
EXEC SQL COMMIT;
EXEC SQL CALL qbf (DATABASE='personnel',
     QBFNAME='expenses', FLAGS='-mappend -s');