Previous Topic: Issue Console Commands Using CAconsole

Next Topic: SNMP Traps

Route z/OS Console Messages to Event Management

At times, it is useful to obtain messages from the system console to be processed under Event Management or CA NSM. Release 3.0 introduced a method that incorporates a MPF exit on the mainframe to trap the messages and forward them to the Framework Event Management Services (FEMS). With CA Common Services for z/OS r12 and above, the functionality of CAS9FEMS has been expanded to handle multi-line WTO messages.

Once the message is in FEMS, you have the option of how and where to treat the message.

To trap messages on the mainframe and forward them to FEMS

  1. Test the FEMS server.
  2. Start the FEMS server. After the server has been tested successfully it should be converted into an STC. Remember to use a user ID that has a valid OMVS segment in the security record.
  3. Activate the MPF exit. Update the MPFLSTxx member to include the desired messages. The message should include the USEREXIT(CATNMPEX) operand to call the exit to process the message. For example, to trap message IEF450I you would code:
    “IEF450I,SUP(NO),USEREXIT(CATNMPEX)”
    
  4. Update the CRIT and DEST files to handle the additional messages. For example, to capture an IEF450 message, add the following to the CRIT file and a corresponding line:
    CON11: text("^IEF450") lang(*) sev(*)
    

    Add the following to the DEST file to send it to Event Management on the local box:

    CON11: driver(/cai/nsmem/bin/casyfem1)
    
  5. Test the exit. Create the messages on the console and verify that they reach the desired destination.

This process can be used to open a help desk issue based on console messages. Once this process is working to your satisfaction, you can forward the desired messages to Event Management, where a CA Service Desk issue can be opened as documented in the CA Service Desk documentation.