Enabling MQSeries for use with FlashBASIC

After installing MQSeries, enable the application to work with FlashBASIC. The instructions below creates a test environment for FlashBASIC.

Procedure

  1. Go to the command prompt.
  2. Start the default queue manager by typing:
    strmqm

    The message MQSeries queue manager running displays.

  3. Start the MQSeries command-line interface by typing:
    runmqsc
  4. Create a new queue named MYQ. For example, type:
    define qlocal(MYQ) descr('My Q')
    Note: This queue is used for testing the D3 connectivity to MQSeries.
  5. Exit out of the runmqsc command processor by typing:
    end
  6. Type a sample message in the MYQ queue, and then press ENTER twice to return to the command prompt. For example:
    amqsput MYQ
  7. Type a test message, and then press ENTER twice.

    The message is now in the queue.

  8. Retrieve the sample message from the MYQ queue. For example, type:
    amqsget MYQ

    Once the message is retrieved, the command prompt returns.

  9. Exit the command prompt.

    A message displays and the command prompt returns. For further reference, see Get example.