snalu62_define_server(3) — Subroutines
NAME
snalu62_define_server − Defines the SNALOG and syslog characteristics of an LU6.2 Server.
LIBRARY
/usr/shlib/libsnatprm.so
SYNOPSIS
#include <sna/snatprmdf.h>
STATUS_RTN snalu62_define_server(
STATUS_VEC ∗status_vec,
SNALOG_INFO ∗snalog_info,
SYSLOG_INFO ∗syslog_info,
SRV_INFO ∗server_info
);
SUPPLIED PARAMETERS
snalog_info
A pointer to an SNALOG_INFO structure specifying the server’s new SNALOG settings.
syslog_info
A pointer to a SYSLOG_INFO structure specifying the server’s new syslog settings.
server_info
A pointer to a SRV_INFO structure specifying the LU6.2 Server to use. Specify sufficient information to uniquely identify the LU6.2 Server. If this parameter is not specified, the interface attempts a connection to a local server with the name LU62_SRV.
RETURNED PARAMETER
status_vec
A pointer to a STATUS_VEC array to receive the completion status information.
DESCRIPTION
Information supplied in the snalog_info and syslog_info parameters overrides values set using any of the following:
•SNALOG environment variables
•Master Control daemon (LU62_MCD) startup scripts
•LU62_MCD commands
•LU6.2 Manager’s Define Server window operations
If, as a result of this verb, the SNALOG mask transitions from a zero value to a non-zero value, the SNALOG facility opens a new trace file and begins tracing. If the SNALOG mask transitions from a non-zero value to a zero value, SNALOG tracing ends and the SNALOG facility closes the current trace file.
The information supplied in the snalog_info and syslog parameters can be overridden by LU6.2 Manager actions.
RESTRICTIONS
Only a process having superuser privileges or a user listed in the system group in the /etc/group file can call this verb.
If you are using this verb to manage an LU6.2 Server on a remote node, the remote server must have access to an access validation file that includes your node name.
For a description of the LU6.2 Server access validation file, see Compaq SNA APPC/LU6.2 Programming Interface for Tru64 UNIX Administrator’s Guide.
RETURN VALUES
SNALU62_S_OKnormal successful completion
SNALU62_S_PARERR
parameter error, routine function-name
SNALU62_S_UNSUC
verb did not execute successfully
ERRORS
None
RELATED INFORMATION
Functions: snalu62_display_server
Manuals: Compaq SNA APPC/LU6.2 Programming Interface for Tru64 UNIX Programming