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 » Mainframe, CICS, TXSeries » Binary MQ Message on z/OS from a JMS Application

Post new topic  Reply to topic
 Binary MQ Message on z/OS from a JMS Application « View previous topic :: View next topic » 
Author Message
xprezons
PostPosted: Tue Jul 05, 2005 2:30 pm    Post subject: Binary MQ Message on z/OS from a JMS Application Reply with quote

Novice

Joined: 02 Sep 2004
Posts: 16
Location: UK

Scenario:

Existing external link through z/OS MQ QM. Internal JMS App needs to send a binary message.

Code:
JMS App (BytesMessage) --> UNIX QM --> zOS QM --> Destination QM


Question:
I do not want the zOS QM to do anything but forward the binary message from a local Q where it arrives, to a remote Q. Would the zOS (1.4) be a show-stopper while handling binary payloads? Sorry, my knowledge of the mainframe is next to nothing.

My feeling is ... this will work. Has anyone tried this before? Is the integrity of the binary content (say, an M$ Word doc) maintained through the transfer? Any MQ options to consider here? I know of MQFMT_NONE for one.

Appreciate your thoughts on this.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
vennela
PostPosted: Tue Jul 05, 2005 3:13 pm    Post subject: Reply with quote

Jedi Knight

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

Binary should work fine on z/OS
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EddieA
PostPosted: Tue Jul 05, 2005 3:14 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
Would the zOS (1.4) be a show-stopper while handling binary payloads

No.
Quote:
Any MQ options to consider here

No.

Always assuming that you are just using the z/OS QM as a "stepping stone" and using MQ multi-hop techniques to route through it, and not an application to GET/PUT the data.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
xprezons
PostPosted: Tue Jul 05, 2005 3:38 pm    Post subject: Reply with quote

Novice

Joined: 02 Sep 2004
Posts: 16
Location: UK

EddieA wrote:

Always assuming that you are just using the z/OS QM as a "stepping stone"


Indeed, that's the point. This application is really small scale. Does not justify setting up direct queue links.
EddieA wrote:

and using MQ multi-hop techniques to route through it, and not an application to GET/PUT the data.

Yes, I was unable to use the ISPF panel options to do a get of the binary message from one queue to put it onto another. Got a 'Message Truncated' Error.

Could you give me any pointers / links for a jumpstart into the MQ multi-hop techniques? Need to check this first thing in the morning.

Thanks Eddie, Vennela for your comments.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
fjb_saper
PostPosted: Tue Jul 05, 2005 4:15 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

for your multihopping check the intercommunications manual:

start = qmgra
MF = qmgrb
destination = qmgrc

On qmgra define a qmgr alias for qmgrc pointing to qmgrb.
On qmgrb define a default communication/or a qmgr alias to qmgrc.

On qmgra put a message to a server app with a replyto destination pointing to a queue on qmgrc.

When the server app sends the reply it will put it on the xmitq specified in the alias for qmgrc. The message will go to qmgrb. Qmgrb will check the message and know it is not for himself but for qmgrc. As there is a default way it will route the message this way. Your message will land on qmgrc.

Bonus/problem: You will never get to browse the message in between because from the time it left qmgra until the moment it arrives on qmgrc it will only hit transmission queues....

Enjoy
Back to top
View user's profile Send private message Send e-mail
xprezons
PostPosted: Sun Jul 10, 2005 2:22 pm    Post subject: Reply with quote

Novice

Joined: 02 Sep 2004
Posts: 16
Location: UK

Thanks all for your tips.

Silly, this didn't occur to me before.

Got it working as below:

Code:
UNIX Remote Q ---> zOS Alias Q ---> zOS RQ ---> UNIX Local


Hop-skip-jump ... message arrives at the destination as expected
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
fjb_saper
PostPosted: Sun Jul 10, 2005 7:09 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

You could as well have solved it this way:

Code:
UNIX Rq -----------> zOS qmgr alias ---------------->UNIX local


Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Binary MQ Message on z/OS from a JMS Application
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.