The statistics C API functions.
Many ID functions create a result set. A result set is over-written the next time an ID function call is made using the same gateway token. This means an application working with several result sets from the same Gateway connection at the same time must take a local copy of each result set. To take a local copy of a result set, use the copyResultSet function.
For details of the return codes provided by the C API functions,
see ctgstats.h in the C language header files,
or see the Statistics APIs.