|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
contact admin |
« View previous topic :: View next topic » |
Author |
Message
|
pwong |
Posted: Wed Oct 22, 2008 10:51 am Post subject: contact admin |
|
|
Newbie
Joined: 22 Oct 2008 Posts: 1
|
Hi All,
I have a question. I was asked to make sure I had these following
statements coded. I'm not exactly sure what they mean. I'm running
a c program which connects to MQ. Am i supposed to put these statements in my code before sending, or am I supposed to put these
in a script somewhere? I'm really new to MQ, any help would be much
appreciated.
* Setup the message buffer
*
MOVE MQMT-REQUEST TO MQMD-MSGTYPE
MOVE reply-to-queue-name TO MQMD-REPLYTOQ
MOVE SPACES TO MQMD-REPLYTOQMGR
MOVE 'SP73A2DG' TO W00-MSGBUFFER(1:
MOVE rest-of-message TO W00-MSGBUFFER(9:xxx)
*
* Send the message
MOVE MQMI-NONE TO MQMD-MSGID
MOVE MQCI-NEW-SESSION TO MQMD-CORRELID
MOVE MQFMT-STRING TO MQMD-FORMAT
CALL 'MQPUT' USING ........... |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 22, 2008 10:56 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
It's COBOL, not C code. No wonder you are confused.
At the back end of each MQI calls chapter of the WMQ Applicaiton Programming Reference, there are samples of code in supported languages (C, COBOL, VB, ...).
If you are not a programmer, or if you are unfamiliar with WMQ API calls, then this will mean little or nothing to you. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Mehrdad |
Posted: Thu Oct 23, 2008 7:48 am Post subject: |
|
|
Master
Joined: 27 Feb 2004 Posts: 219 Location: Europe
|
subject says ' contact admin ' - does it mean that I am expected to convert the Cobol part to C or just wait for more amazing entries  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|