InterviewSolution
Saved Bookmarks
| 1. |
Difference Between Mqput And Mqput1? |
|
Answer» MQPUT(MQSTATE, MQMD, MQPMO, BUFFER) : ADDS a MESSAGE to the queue. The buffer cannot be more that 32767 bytes, but that RESTRICTION does not apply if you are using the EGL add statement. MQPUT1(MQSTATE, MQOD, MQMD, MQPMO, BUFFER): Opens a queue, WRITES a single message, and closes the queue MQPUT(MQSTATE, MQMD, MQPMO, BUFFER) : Adds a message to the queue. The buffer cannot be more that 32767 bytes, but that restriction does not apply if you are using the EGL add statement. MQPUT1(MQSTATE, MQOD, MQMD, MQPMO, BUFFER): Opens a queue, writes a single message, and closes the queue |
|