onmode -I: Control diagnostics collection

Use the onmode -I option to start and stop diagnostics collection.

When you encounter an error, you can specify the onmode -I iserrno option to start collecting diagnostics information. You can also specify the session ID to collect information for only specific session.

To stop the diagnostics collection, use the onmode -I option without any other parameters.


1  onmode   -I?  iserrno? + , sid
Element Purpose Key Considerations
iserrno Message number of the error that you want to collect diagnostic information for. None.
sid Session ID of the session that you want to collect diagnostic information for. None.

The diagnostics collection procedures are described in the Informix® Administrator's Guide.