iSeries Access for Windows Serviceability APIs

The iSeries™ Access for Windows® Serviceability application programming interfaces (APIs) allow you to log service file messages and events within your program.

A set of APIs allows you to read the records from the service files that are created. These APIs allow you to write a customized service-file browser.

The following general categories of iSeries Access for Windows Serviceability API functions are provided:

Why you should use iSeries Access for Windows Serviceability APIs:

The iSeries Access for Windows Serviceability APIs provide an efficient means of adding message logging and trace points to your code. Incorporate these functions into programs that are shipped as part of your product, and use them to help debug programs that are under development. The file structure supports multiple programs (that are identified by unique product and component strings) logging to the same files simultaneously. This provides a complete picture of logging activity on the client workstation.

iSeries Access for Windows Serviceability APIs required files:

Header file Import library Dynamic Link Library
cwbsv.h cwbapi.lib cwbsv.dll

Programmer's Toolkit:

The Programmer's Toolkit provides Serviceability documentation, access to the cwbsv.h header file, and links to sample programs. To access this information, open the Programmer's Toolkit and select Error Handling > C/C++ APIs.

Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.
Related reference
Serviceability APIs return codes