+

Search Tips | Advanced Search

Determining whether the application has the queue open

If we have a problem with a queue, check whether the application has the queue open


About this task

Perform the following steps to determine whether the application has the queue open:


Procedure

  1. Ensure that the application that is running against the queue is the application that you expect. Issue the following command for the queue in question:
    DISPLAY QSTATUS(Q1) TYPE(HANDLE) ALL
    
    In the output, look at the APPLTAG field, and check that the name of the application is shown. If the name of the application is not shown, or if there is no output at all, start the application.
  2. If the queue is a transmission queue, look in the output at the CHANNEL field. If the channel name is not shown in the CHANNEL field, determine whether the channel is running.
  3. Ensure that the application that is running against the queue has the queue open for input. Issue the following command:
    DISPLAY QSTATUS(Q1) TYPE(QUEUE) ALL
    
    In the output, look at the IPPROCS field to see if any application has the queue open for input. If the value is 0 and this is a user application queue, make sure that the application opens the queue for input to get the messages off the queue.

Parent topic: Monitor queues

Last updated: 2020-10-04