ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » contact admin

Post new topic  Reply to topic
 contact admin « View previous topic :: View next topic » 
Author Message
pwong
PostPosted: Wed Oct 22, 2008 10:51 am    Post subject: contact admin Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Wed Oct 22, 2008 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Mehrdad
PostPosted: Thu Oct 23, 2008 7:48 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » contact admin
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.