GDSX (Extended General Device Support) Manual

Design and Development
Extended General Device Support (GDSX) Manual529931-001
2-79
EMS Filters and GDSX
Feownabort, Error 210
This error is returned when there has been a takeover by the backup process since the
last request by this opener.
Fefatpin, Error 560
If GDSX is run converted, only the GDSX pseudo Guardian procedures that
correspond to the D-series Guardian procedures are available to USCODE (except for
^OPEN, ^CLOSE, ^FILEINFO, and ^FNAMEEXPAND). If other calls are attempted,
TSCODE returns file-system error 29 or 560.
If GDSX is run unconverted, only the GDSX pseudo Guardian procedures that
correspond to the C-series Guardian procedures are available to USCODE (except for
^FILE_OPEN_, ^FILE_CLOSE_, and ^FILE_GETINFO_). If other calls are attempted,
TSCODE returns file-system error 29 or 560.
EMS Filters and GDSX
GDSX processes send tokenized fault and event messages to the Event Management
Service (EMS) primary collector ($0) process. (See Interpreting Console and EMS
Messages on page 3-16 for a listing of these messages.) The collector stores these
messages in the current EMS log file. EMS distributor processes select messages
from the log file and deliver them to consumers.
A distributor process can use a filter to limit the types of events passed to a consumer.
For example, a distributor can be used with a filter to deliver only event messages from
GDSX processes running in the network where the distributor is running. The following
file (named FILTGDS) implements such a filter, using a subsystem ID check to
determine what event messages are to be routed to an EMS terminal.
FILTER GDSX;
BEGIN
[#SET ZGDS^VAL^SSID
[ZSPI^VAL^TANDEM].[ZSPI^SSN^ZGDS].[ZGDS^VAL^VERSION]]
IF ZEMS^TKN^SSID = SSID(ZGDS^VAL^SSID) THEN PASS;
END;
See the EMS Manual for more information on filters.
This filter must be compiled with EMF, the EMS filter compiler. The following OBEY
file, named LOADFILT, loads subsystem and EMS TACL definitions (ZSPITACL and
ZEMSTACL) and GDSX TACL definitions (ZGDXTACL) required for the compilation.
After loading these definitions, LOADFILT compiles FILTGDS and starts a printing
distributor (EMSDIST) employing the filter and directing output to the designated EMS
terminal.
PUSH X
#LOAD /KEEP 1, LOADED X/ $vol.subvol.ZSPITACL
#LOAD /KEEP 1, LOADED X/ $vol.subvol.ZEMSTACL
#LOAD /KEEP 1, LOADED X/ $vol.subvol.ZGDXTACL