customize z/OS, example, customization, starting (z/OS example), queue manager, example (z/OS), local queue, creating, server-connection channel, DQM, starting, inetd setup, channel initiator, listener" /> Set up the server on z/OS
Home

 

Set up the server on z/OS

Customize your WebSphere MQ for z/OS installation as described in the WebSphere MQ for z/OS System Setup Guide. This includes defining the default system objects and enabling distributed queuing. You do not require the Batch/TSO, CICS, or IMS adapters to run as servers for WebSphere MQ applications running on a client. However, depending on how you choose to issue commands, you might need the Batch/TSO adapter and the operations and control panels to perform administration for clients.

Follow the steps below. We can use any of the valid command input methods to issue the WebSphere MQ commands (MQSC) shown.

  1. Start the queue manager by entering the following command:

    START QMGR

  2. Create a local queue by entering the following command:

    DEFINE QLOCAL(QUEUE1)

  3. Create a server-connection channel by entering the following command:

    DEFINE CHANNEL(CHANNEL1) CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER(' ')

  4. Start the channel initiator by entering the following command:

    START CHINIT

  5. Start the listener by entering the following command:

    START LSTR TRPTYPE(TCP) PORT(port-number)



 

Home