IPX/SPX Configuration and Management Manual

Event Messages for NonStop™ IPX/SPX
IPX/SPX Configuration and Management Manual425731-001
B-17
Filter Examples
opener process name
indicates the process name of the opener of the local socket.
Cause. The IPXPROTO process encountered an internal error on a socket.
Effect. The socket connection is lost. The IPXPROTO process will reply to applications
with the socket error EIO (4005) and release buffers associated with the socket.
Recovery. Applications should close the socket and reopen. If applications cannot
automatically recover from this error, stop and restart the applications.
Refer to the TCP/IP and IPX/SPX Programming Manual for a list of socket errors that
describe the error conditions for the socket routines and explain how a program can
recover from these errors.
Filter Examples
The following two examples illustrate simple filters that you could create to select
NonStop™ IPX/SPX event messages.
For both examples, the following assumptions have been made:
All NonStop™ IPX/SPX definitions used in the filters have been loaded into TACL
before compilation.
Tokens and subsystems that you have created have been defined and loaded before
compilation.
All subsystem IDs (SSIDs) that are not initialized in the filter have been initialized
by other means.
For more information on filters, refer to the EMS Manual.
Example 1
The following filter selects all of the NonStop™ IPX/SPX and QIO event messages:
-- Filter that selects only event messages issued by
-- the NonStop™ IPX/SPX and QIO subsystems.
FILTER ipxspx^messages
BEGIN
IF zspi^tkn^ssid = SSID(zipx^val^ssid) THEN
PASS; --Return this event message.
IF zspi^tkn^ssid = SSID(zqio^val^ssid) THEN
PASS; --Return this event message.
ELSE
FAIL; --Do not return this event message.
END; --End of NonStop™ IPX/SPX and QIO messages.