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 » MQOPEN - Publish in RPGLE

Post new topic  Reply to topic
 MQOPEN - Publish in RPGLE « View previous topic :: View next topic » 
Author Message
nameeta
PostPosted: Tue Jan 17, 2012 2:46 am    Post subject: MQOPEN - Publish in RPGLE Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Tue Jan 17, 2012 8:21 am    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Tue Jan 17, 2012 8:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Check here

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzal.doc/fg17040_.htm

Looks like no RPG sample provided for PUBLISH
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bruce2359
PostPosted: Tue Jan 17, 2012 8:36 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

MQSUB from RPG http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.amqwak.doc%2Fir21100_.htm
Found this by searching google for 'mqsub+rpg'.
_________________
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
vennela
PostPosted: Tue Jan 17, 2012 8:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mqjeff
PostPosted: Tue Jan 17, 2012 8:49 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » General Discussion » MQOPEN - Publish in RPGLE
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.