Storing messages directed to an extended MCS console

The system stores messages differently, depending on how you will retrieve them. To retrieve a stored message, do the following:
  1. Issue the MCSOPMSG macro to obtain the address of the MDB, which is where the system stores messages for an extended MCS console.
  2. Use assembler instructions to locate and extract the message from the MDB.
MCSOPER provides the following options for delivery of messages:
  • If you want MCSOPER to queue messages to and extract messages from the storage area on a first-in first-out basis, specify MSGDLVRY=FIFO on MCSOPER.
  • If you want to use the search arguments CMDRESP, CART, and MASK when issuing the MCSOPMSG macro with the REQUEST=GETMSG parameter, specify MSGDLVRY=SEARCH on MCSOPER.
  • If you do not want to receive messages on a console, specify MSGDLVRY=NONE on MCSOPER. MSGDLVRY=NONE requires that you retrieve messages from either the subsystem interface or an MPF exit, rather than from the message data space. MSGDLVRY=NONE is useful if you want to issue commands from a console but do not want to receive messages on a console. The console ID identifies the particular console's messages on the subsystem interface or MPF exit. For more information on MPF exits, see z/OS MVS Installation Exits.