The SnapShot API function supports logging FairCom Server file statistics. For a listing of the file statistics the FairCom Server collects, refer to the ctGFMS structure in the Snapshot Contents section below. The supported operations include:
Snapshot action |
opcode |
rqstdesc |
snapbufr |
---|---|---|---|
Activate the file with the specified file name. Use a pattern of ‘*’ to activate all files. |
ctPSSaddFileName |
File name (e.g., “cust*.*”) |
NULL |
Activate the file with the specified file number. |
ctPSSaddFileNo |
Small integer file number (e.g., ‘0’) |
NULL |
On demand file snapshot returned directly in the output buffer for the file with file number specified by rqstdesc. No entry is made in SYSLOG. |
ctPSSfile |
Small integer file number (e.g., ‘3’) |
Address of output buffer large enough to hold a ctGFMS structure |
Undo all file activations. |
ctPSSclearFiles |
NULL |
NULL |