Home
Usage notes
- If no AdminQ is specified, the MQAI checks to see if the command server is active before sending the administration command message. However, if the command server is not active, the MQAI does not start it. If you are sending a large number of administration command messages, you are recommended to open the SYSTEM.ADMIN.COMMAND.QUEUE yourself and pass the handle of the administration queue on each administration request.
- Specifying the MQHO_NONE value in the ResponseQ parameter simplifies the use of the mqExecute call, but if mqExecute is issued repeatedly by the application (for example, from within a loop), the response queue will be created and deleted repeatedly. In this situation, it is better for the application itself to open the response queue prior to any mqExecute call, and close it after all mqExecute calls have been issued.
- If the administration command results in a message being sent with a message type of MQMT_REQUEST, the call waits for the period of time given by the MQIACF_WAIT_INTERVAL data item in the options bag.
- If an error occurs during the processing of the call, the response bag may contain some data from the reply message, but the data will usually be incomplete.
Parent topic:
mqExecute
pc16770_
Home