HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_LOG_FILE
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_INVALID_TG
The list_options parameter was set to AP_LIST_INCLUSIVE to list all entries starting from the
supplied name, but the tg_num parameter was not valid.
AP_INVALID_LIST_OPTION
The list_options parameter was not set to a valid value.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.126.5 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.127 QUERY_LOG_FILE
This verb allows the application to determine the name of the file that SNAplus2 uses to record audit, error, or
usage log messages, the name of the backup log file, and the file size at which log information is copied to the
backup file.
3.127.1 VCB Structure
typedef struct query_log_file
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char log_file_type; /* type of log file */
unsigned char file_name[81]; /* file name */
unsigned char backup_file_name[81]; /* backup file name */
AP_UINT32 file_size; /* log file size */
unsigned char succinct; /* reserved */
unsigned char reserv3[3]; /* reserved */
} QUERY_LOG_FILE;
3.127.2 Supplied Parameters
opcode
AP_QUERY_LOG_FILE
log_file_type
The type of log file being queried. Possible values are:
485