Space banner

   

This space provides the same content as before, but the organization of the home page has changed. To help you quickly find the content that you need, topics are now organized based on logical branches instead of legacy book titles

Subscribing to the Event Listener

If another process is running the BMC Integrated Event Listener, MainView for MQ can subscribe to the Event Listener.

The messages are nonpersistent but do not have an expiration time.

To subscribe to the Event Listener for MVS queue managers

Use either of the following methods:

If the systems for which you are monitoring events have changed, use the batch job shown in the Integrated Event Listener subscription batch job to add new monitoring system publish queues (PUBQs) or remove unwanted PUBQs. You can run the batch subscription job to add or delete a subscription against any active or inactive Event Listener. This JCL is provided in hlq.BBSAMP(#MMAELSC).

Integrated Event Listener subscription batch job

//MMAELSC  JOB (XXXX),'USERID',CLASS=F,
//          NOTIFY=USERID,MSGCLASS=R
//*
//*---------------------------------------------------------------
//*  MMA EVENT LISTENER SUBSCRIBER
//*---------------------------------------------------------------
//*   #1  - CHANGE BMCNODE TO YOUR HIGH-LEVEL NAMING CONVENTION
//*   #2  - CHANGE hlq TO YOUR HIGH-LEVEL NAMING CONVENTION
//*         FOR THE SPECIFIED DATA SET
//*   #3  - CHANGE XXXX TO YOUR ACCOUNT NUMBER
//*            OR REMOVE IT IF NOT NEEDED
//*--------------- JOB PARMS -----------------------
//*   #4  - CHANGE yyyy TO selected qmgr name
//*   #5  - CHANGE ZZZ  TO 'ADD' OR 'DELETE'
//*   #6  - CHANGE WWWW TO PUBLISH QUEUE NAME. 48 BYTE MAX
//*-------------------------------------------------------------
//* PARMS: QMGR=, QMGR NAME - 4 BYTE MAX. REQUIRED                 *
//*        PUBQ=, PUBLISH QUEUE NAME - 48 BYTE MAX. REQUIRED       *
//*        ACTION=, ADD/DELETE SUBSCRIPTION.  REQUIRED             *
//*---------------------------------------------------------------
//MMAELSC EXEC PGM=MMAELSC0,
// PARM='QMGR=yyyy,ACTION=ZZZ,PUBQ=WWWW'
//*
//STEPLIB  DD DISP=SHR,DSN=BMCNODE.MMA.LOAD
//         DD DISP=SHR,DSN=hlq.SCSQAUTH
//         DD DISP=SHR,DSN=hlq.SCSQLOAD
//*
//SYSPRINT DD SYSOUT=*
//*


Was this page helpful? Yes No Submitting... Thank you

Comments