Previous Topic: HOLD CommandNext Topic: LOAD Command


LISTEN Command

The LISTEN command registers an MVS operator's console for selected CA CPM alerts or events.

This command has the following format:

LISTEN   [,PATH={ALL|NONE}]
         [,FLOW=(flist)]
         [,JOBS=(jlist)]
         [,ENF={ALL|NONE}]
         [,DEST={ORIGIN|CONSOLE|CMPLOG|SYSLOG}]
PATH

Specifies which path events to display. The value can be ALL or NONE.

FLOW

Specifies which flow events to send to the console. The value can be one or more of the following:

ALL

Displays all flow events and alerts.

NONE

Sends no flow events or alerts.

STATUS

Sends flow status change events and alerts.

COMPLETE

Sends flow completion events.

LOAD

Sends flow loaded events.

START

Sends flow start events.

DELETE

Sends flow delete events.

Note: To unregister for a single event type, prefix the type with NO (for example, LISTEN FLOW=NOLOAD).

JOBS

Specifies which job events to display. The value can be one or more of the following:

ALL

Displays all job events and alerts.

NONE

Sends no job events or alerts.

LATE

Sends job late alerts.

LONG

Sends job running long alerts.

ABEND

Sends job ABEND alerts.

CANCEL

Sends job canceled alerts.

START

Sends job started events.

END

Sends job complete events.

LOAD

Sends job loaded events.

Note: To unregister for a single event type, prefix the type with NO (for example, LISTEN JOBS=(NOLOAD,NOEND)).

ENF

Specifies which CAIENF events to display. The value can be ALL or NONE.

DEST

Specifies where to send the requested events/alerts:

CONSOLE

Sends events to the master console

CPMLOG

Sends events to the CA CPM log data set

SYSLOG

Sends events to the system log (MVS only)

ORIGIN

Sends events to the default destination, depending on where the LISTEN command was issued:

CPMPARMS

Sends events to CPMLOG.

Console

Sends events to the master console (MVS) or to the shell/window where the CA CPM task is running.