NetBatch Management Programming Manual

Event Messages
NetBatch Management Programming Manual522462-003
6-5
Step 4: Compile Filter Source File
Step 4: Compile Filter Source File
Compile the filter source file by using the EMS filter compiler:
> EMF /IN FILTSRC/ FILTOBJ
EMS Filter Compiler - T9634D20 - (01JUN93) - (19JUN90)
(C)1987 Tandem (C)2004 Hewlett Packard Development
Company, L.P.
Source file: [1] $NB.TRASH.FILTSRC 1994-07-28 10:51:38
1 FILTER ZBATMSG;
2 BEGIN
3 IF ZSPI^TKN^SSID = SSID(ZBAT^VAL^EXTERNAL^SSID) THEN
4 PASS
5 ELSE
6 FAIL;
7 END;
8
Step 5: Load the Compiled Filter Object File Into A Distributor
Load the compiled filter object file into a consumer, printing, or forwarding distributor by
using the EMS program EMSDIST:
> EMSDIST TYPE PRINTING, COLLECTOR $0, FILTER FILTOBJ,
TEXTOUT
$MYTERM
Using the Format Template
The NetBatch subsystem comes with a DSM format template. This template enables
the Guardian procedure EMSTEXT to display scheduler event-message text in DSM
display format. The template also specifies which tokens of each message the
procedure will display and the message text. Your system administrator loads the
template’s source file ($vol.ZTEMPL.SBATTMPL) and object file
($vol.ZTEMPL.ZBATTMPL) when installing NetBatch software.
Contents of the Format Template Supplied With NetBatch
Software
Table 6-2 on page 6-6 shows the statements in the scheduler’s format-template source
file ($vol.ZTEMPL.SBATTMPL) for each scheduler event message. The table also
gives a sample of each message as formatted by the template’s object file.