Appendix G: Sample Tracing and Accounting Program

This appendix contains a sample host server application program that a system programmer can use to perform host-based tracing and accounting functions.

NoteThis program is not included on the Open ServerConnect tape.

The purpose of this sample program is to demonstrate the use of all Gateway-Library tracing and accounting functions. In some cases, one Gateway-Library function is used for demonstration purposes when another function would be more efficient. In order to best illustrate the flow of processing, the program does not do extensive error checking.