This sample shows how Gateway daemon statistics can be
obtained by C clients.
The statistics sample program is written in C and can be found
in the SCTGSAMP library.
The
CTGSTAT1 C
sample program demonstrates the following functions:
- Connecting to the statistical API port.
- Querying running Gateway daemons for statistics in the connection
manager resource group.
- Obtaining values for these statistics.
- Retrieving and displaying information about the Gateway daemon
running time and the total number of requests made.
Sample JCL job SCTGSAMP(CTGSTJOB) is provided
to compile, link, and run the sample program. Instructions in the
JCL explain how to customize it to run it successfully.