HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
SET_TRACE_FILE
trace_le_size
The maximum size of the trace le, in bytes. To continue using the existing le size denition, specify zero.
If
dual_les is set to AP_YES, tracing will switch between the two les when the current le reaches this
size. If dual_les is set to AP_NO, this parameter is ignored; the le size is not limited.
You may need to increase the size of the trace les according to the size of the SNAplus2 client-server
network, to allow for the volume of trace information generated in larger systems. In particular, consider
increasing the trace le size on a server to allow for large numbers of clients or users accessing the server.
le_name
Name of the trace le, or of the rst trace le if dual_les is set to AP_YES. To continue using the le name
specied on a previous SET_TRACE_FILE verb, set this parameter to a null string.
To create the le in the default directory for diagnostics les, /var/opt/sna, specify the le name with
no path. To create the le in a different directory, specify either a full path or the path relative to the default
directory. If you include the path, ensure that it is a valid path (either relative to the applications working
directory or a full path) on any computer to which this verb is issued.
This parameter is an ASCII string of 180 characters, followed by a NULL character (binary zero).
le_name_2
Name of the second trace le; this parameter is used only if dual_les is set to AP_YES. To continue using
the le name specied on a previous set_trace_le verb, set this parameter to a null string.
To create the le in the default directory for diagnostics les, /var/opt/sna, specify the le name with
no path. To create the le in a different directory, specify either a full path or the path relative to the default
directory. If you include the path, ensure that it is a valid path (either relative to the applications working
directory or a full path) on any computer to which this verb is issued.
This parameter is an ASCII string of 180 characters, followed by a NULL character (binary zero).
3.183.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
secondary_rc
Not used.
3.183.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
Possible values are:
AP_INVALID_FILE_NAME
The le_name or le_name_2 parameter was not set to a valid HP-UX le name, or le_name_2 was
not specied when changing from a single trace le to dual trace les.
AP_INVALID_FILE_TYPE
The trace_le_type parameter was not set to a valid value.
728