NetBatch Manual

Scheduler Planning, Configuration, and
Management
NetBatch Manual522460-004
3-44
Enabling and Disabling EMS Event-Message
Generation
Enabling and Disabling EMS Event-Message Generation
The scheduler has an EMS interface through which it can send information about these
events to an EMS collector. For more information about the interface and about
scheduler event messages, see the NetBatch Management Programming Manual.
You can enable NetBatch event-message generation when starting a scheduler or
while the scheduler is running:
To enable event-message generation when starting a scheduler, include the EMS
parameter in the RUN NETBATCH command. For example:
> NETBATCH /NAME $ZBAT, NOWAIT/ $NB.ZBAT EMS
> BATCHCOM $ZBAT; INFO SCHEDULER, EMS
SCHEDULER ATTRIBUTES
ems: On
To enable event-message generation while the scheduler is running, use the
ALTER SCHEDULER command to set the scheduler’s EMS attribute to ON or
ERROR.
T_ cpu-time Supplies the CPU time taken
by a job in hours, minutes,
seconds, and microseconds.
T_0:0:12:163
U_ group-ID, user-ID Identifies the user making the
request.
U_205,70
\ node.$: CPU: PIN:
sequence-number
Identifies an unnamed
process.
\MELBDEV.$:0:165:14
312376
Event Event message
Job started 102: ZBAT-EVT-JOB-START
Job failed to start 301: ZBAT-EVT-JOB-START-ERROR
Job exceeded execution time limit 204: ZBAT-EVT-JOB-OVER-LIMIT
Job stopped normally 202: ZBAT-EVT-JOB-NORMAL-STOP
Job stopped abnormally 203: ZBAT-EVT-JOB-ABNORMAL-STOP
Executor’s CPU down 200: ZBAT-EVT-EXECUTOR-DOWN
Executor’s CPU up 201: ZBAT-EVT-EXECUTOR-UP
Scheduler started 100: ZBAT-EVT-SCHEDULER-START
Scheduler stopped 101: ZBAT-EVT-SCHEDULER-STOP
Scheduler abended 500: ZBAT-EVT-SCHEDULER-ABENDED
Logon Failure 501 ZBAT-EVT-LOGON-FAILURE
LogFile Creation Error 502 ZBAT-EVT-LOGFILE-CREATE-ERROR
Table 3-4. Scheduler Log File Logging Formats (page 2 of 2)
Logging Format Description Example