Statistics API components

The statistics API is made available to user applications by two C-language header files and a dynamic link library (DLL).

C-language header files

Two platform-independent C-language header files are provided for developing user applications.

ctgstats.h defines the API function calls and datatypes required to use the API functions.

ctgstdat.h defines the set of query return codes that might be seen by a statistical user application. The set of query return codes can vary according to the statistics protocol version provided by the CICS® Transaction Gateway daemon.

Runtime DLL

The statistics API runtime DLL is provided for each of the supported CICS Transaction Gateway hardware platforms. It is supplied as a platform-specific DLL binary. It must be available during the runtime of the statistical user application.

Sample code

A sample file ctgstat1.c is supplied. This provides a simple example for using the statistics API. Further details of the ctgstat1.c sample are provided in the samples.txt file.