Returns the number of COMPUTE clauses in the current set of results.
INT dbnumcompute ( PDBPROCESS dbproc );
where
The number of COMPUTE clauses in the current set of results.
Call this function after dbresults has returned SUCCEED.
In this example, dbnumcompute (dbproc) returns 2, since there are two COMPUTE clauses in the SELECT statement:
select dept, name from employee order by dept, name compute count(name) by dept compute count(name)