NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-54
EMS Scheduler Attribute
EMS Scheduler Attribute
The EMS scheduler attribute enables or disables event-message generation while the
scheduler is running. For information about NetBatch event messages, see the
NetBatch Management Programming Manual.
ERRORS
enables generation of all scheduler event messages except 102 (ZBAT-EVT-JOB-
START) and 202 (ZBAT-EVT-JOB-NORMAL-STOP).
OFF
disables generation of all scheduler event messages.
ON
enables generation of all scheduler event messages.
Considerations
•
A scheduler run without the EMS parameter in the RUN NETBATCH command
adopts the attribute EMS OFF by default when cold started.
•
A RUN NETBATCH command that includes the EMS parameter sets the EMS
attribute to ON.
Example
In this example, the EMS parameter in the NETBATCH command sets the EMS
attribute to ON, and an ALTER SCHEDULER command sets the attribute to ERRORS:
> NETBATCH /NAME $ZBAT, NOWAIT/ $DATA7.ZBAT ! EMS
> BATCHCOM $ZBAT
BATCHCOM - T9190D30 - (31OCT94^01JUN94)
(C)1986 Tandem (C)2004 Hewlett Packard Development Company, L.P.
NETBATCH SERVER - T9190D30 …
1} ADD SCHEDULER; START SCHEDULER
Scheduler added
Scheduler started
3} INFO SCHEDULER, EMS
SCHEDULER ATTRIBUTES
ems: On
4} ALTER SCHEDULER, EMS ERRORS
Scheduler altered
5} INFO SCHEDULER, EMS
SCHEDULER ATTRIBUTES
ems: Errors
EM[S] { ER[RORS]
OF[F]
ON)