Use the MQPUT call to put request messages containing commands on the system-command input queue. In this call you specify the name of the reply-to queue that you have already opened.
To use the MQPUT call:
If you are not using the same code page as the queue manager, set CodedCharSetId as appropriate and set MQFMT_STRING, so that the command server can convert the message. Do not set MQFMT_ADMIN, as that causes your command to be interpreted as PCF.
If you specify MQPMO_SYNCPOINT (the default), you must follow the MQPUT call with a syncpoint call.
If you want to put just one message on the system-command input queue, you can use the MQPUT1 call. This call combines the functions of an MQOPEN, followed by an MQPUT of one message, followed by an MQCLOSE, all in one call. If you use this call, modify the parameters accordingly. See the WebSphere MQ Application Programming Guide for details.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csq847k |