|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQOPEN - Publish in RPGLE |
« View previous topic :: View next topic » |
Author |
Message
|
nameeta |
Posted: Tue Jan 17, 2012 2:46 am Post subject: MQOPEN - Publish in RPGLE |
|
|
Newbie
Joined: 17 Jan 2012 Posts: 1
|
Hello everybody,
I need an example program in RPGLE to PUBLISH using TOPIC string. Can anybody please provide the same.
Regards,
Nameeta |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Jan 17, 2012 8:21 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Try searching google for 'mqopen+rpgle'. I found About 3,520 results (0.19 seconds) _________________ 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 |
|
 |
vennela |
Posted: Tue Jan 17, 2012 8:31 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Jan 17, 2012 8:36 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
vennela |
Posted: Tue Jan 17, 2012 8:46 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Bruce:
What you have provided is a link to function call not a sample program. Moreover it is for SUB not PUB
Anyway, as per the manual, the sample programs that are shipped with the product look like does not contain a RPG program that serves this purpose.
@nameeta
You should try to look at the C program and see if you can do an RPG program yourself unless somebody jumps in a post a code snippet here. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jan 17, 2012 8:49 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Messages are published using MQPut to an Object handle that represents an open Topic instead of an open Queue.
The PUT sample program for RPG should be just fine, as long as you adjust the object that is opened to point to a TOPIC instead of a QUEUE. |
|
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
|
|
|
|