Author |
Message
|
sssang_e |
Posted: Sun Apr 28, 2002 10:15 pm Post subject: |
|
|
Novice
Joined: 21 Mar 2002 Posts: 15
|
Hi,
Is there any MQ tools that can deposit messages (in a group) in Queues instead of using MQ API in my program?
Thanks in advance for the help.
Sangs |
|
Back to top |
|
 |
pomeroy8 |
Posted: Mon Apr 29, 2002 10:16 am Post subject: |
|
|
 Novice
Joined: 25 Jun 2001 Posts: 21 Location: Markham, ON Canada
|
check out the supportpac web site.
if "by group" you mean using MQ segmentation and grouping of messages that require setting the MQ header correctly, then you should look at IH02. You could also look at MA0J (java).
if "by group" you mean read file for messages and send via MQ, no header settings, for Win NT you could try MA7A.
Or try a Supportpac that you prefer
|
|
Back to top |
|
 |
sssang_e |
Posted: Tue Apr 30, 2002 3:54 am Post subject: |
|
|
Novice
Joined: 21 Mar 2002 Posts: 15
|
|
Back to top |
|
 |
ramki |
Posted: Tue Apr 30, 2002 7:38 am Post subject: |
|
|
Apprentice
Joined: 25 Sep 2001 Posts: 28
|
URL works fine here. Send in your e-mail_id, I can send u the attachements.
|
|
Back to top |
|
 |
sssang_e |
Posted: Wed May 01, 2002 9:06 pm Post subject: |
|
|
Novice
Joined: 21 Mar 2002 Posts: 15
|
Hi,
Thanks for the response and help.
Please mail the attachment to sssang_e@lycos.com.
Thanks
Sangs |
|
Back to top |
|
 |
sssang_e |
Posted: Fri May 03, 2002 1:34 am Post subject: |
|
|
Novice
Joined: 21 Mar 2002 Posts: 15
|
Hi,
Can you please send me the attachments to sssang_e@lycos.com.
It is urgent.
Thanks
Sangs |
|
Back to top |
|
 |
sssang_e |
Posted: Sun May 05, 2002 11:26 pm Post subject: |
|
|
Novice
Joined: 21 Mar 2002 Posts: 15
|
Message Grouping
Is any sample programs on Message Grouping available to test.
The putgroup.c and getgroup.c available in the IBM site is not working.
It exits with a 2173 Reason code.
Any help on this would be most useful.
Thanks
Sangs |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon May 06, 2002 8:39 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
Go to IBM's MQSeries site and click on Library -> Books -> MQSeries Family Books.
Follow the link to the MQSeries Application Programming Reference and download the pdf file. Appendix A has the completion codes and reason codes. For developers, the MQSeries Application Programming Reference will be your bible.
RC=2173 means put-message options structure is not valid.
What version / platform of MQSeries are you testing this code? A quick guess would be that you are on a v2.x release of MQSeries.
later
Roger...
|
|
Back to top |
|
 |
sssang_e |
Posted: Tue May 07, 2002 1:55 am Post subject: |
|
|
Novice
Joined: 21 Mar 2002 Posts: 15
|
Hi,
I am working on Sun Solaris 2.6 with MQ Series v5.1.
I have checked the MQMD and MQPMO structure values it looks good.
Please advice.
Thanks
Sangs |
|
Back to top |
|
 |
RogerLacroix |
Posted: Sat May 11, 2002 3:02 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I finally had some time to try out putgroup.c & getgroup.c programs.
I tested the code on a Solaris 8 box with MQ v5.1 running. (Note: I compiled & linked both putgroup.c & getgroup.c with GCC on the Solaris box.)
First I ran putgroup, without any problem, putting 3 messages groups onto a queue (4, 5 & 2 messages per group). Then I ran getgroup successfully retrieving the 3 message groups with the correct number of messages per group.
Therefore, I would suggest that you re-download the source code from IBM's site (or my web site) and run the test again without modifying the code.
later
Roger Lacroix
Enterprise Architect
Capitalware Inc.
http://www.capitalware.net
----------------------------------------
IBM Certified Specialist - MQSeries
IBM Certified Developer - MQSeries
IBM Certified Solutions Expert - MQSeries
----------------------------------------
|
|
Back to top |
|
 |
|