If you have a problem with a queue, check whether your application has the queue open
About this task
Perform the following steps to determine whether your application has the queue open:
Procedure
-
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 your application is shown. If the name of your application
is not shown, or if there is no output at all, start your application.
-
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.
-
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.