HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_LOG_FILE
AP_AUDIT_FILE
Audit log le (audit messages only).
AP_ERROR_FILE
Error log le (problem and exception messages).
AP_USAGE_FILE
Usage log le (information on current and peak usage of SNAplus2 resources).
3.127.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
secondary_rc
Not used.
le_name
Name of the log le. This parameter is an ASCII string of 180 characters, followed by a null (0x00)
character.
If no path is included, the le is stored in the default directory for diagnostics les, /var/opt/sna;if
a path is included, this is either a full path (starting with a / character) or the path relative to the default
directory.
backup_le_name
Name of the backup log le. This parameter is an ASCII string of 180 characters, followed by a null (0x00)
character.
When the log le reaches the size specied by
le_size below, SNAplus2 copies the current contents of
the log le to this le and then clears the log le. You can also request a backup at any time using the
SET_LOG_FILE verb.
If no path is included, the le is stored in the default directory for diagnostics les, /var/opt/sna;if
a path is included, this is either a full path (starting with a / character) or the path relative to the default
directory.
le_size
The maximum size of the log le specied by log_le_type. When a message written to the le causes the
le size to exceed this limit, SNAplus2 clears the backup log le, copies the current contents of the log le
to the backup log le, and then clears the log le. This means that the maximum amount of disk space taken
up by log les is approximately twice the value of le_size.
3.127.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
AP_INVALID_FILE_TYPE
The log_le_type parameter was not set to a valid value.
486