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 » IBM MQ API Support » Limitation MQI on z/OS

Post new topic  Reply to topic
 Limitation MQI on z/OS « View previous topic :: View next topic » 
Author Message
Rudolf
PostPosted: Wed Dec 22, 2004 3:48 am    Post subject: Limitation MQI on z/OS Reply with quote

Newbie

Joined: 24 Nov 2004
Posts: 7
Location: Netherlands

At the moment I'm developing a solution using MQI from java on a Windows platform (Windows XP Professional). This final solution is going to be deployed under Unix Services on z/OS platfom.

When I read the manual there are a few differences/limitations mentioned, but the problem is that this information is scattered over the manuals. Just to mention a few limitations:

* z/OS only supports binding mode (which leaves out the use of user exits)
* z/OS only supports MQPMO/MQGMO version 1 (version 2 is the default when you use MQI for Java)
* You can't initiate a global Unit of Works using MQBEGIN


Has anyone ever compiled a document for these kind of porting issues or does anyone know where I can find this information (in a convenient way .


Kind regards,
Rudolf de Grijs
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Dec 22, 2004 10:21 am    Post subject: Re: Limitation MQI on z/OS Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Rudolf wrote:
* z/OS only supports binding mode (which leaves out the use of user exits)
* z/OS only supports MQPMO/MQGMO version 1 (version 2 is the default when you use MQI for Java)
* You can't initiate a global Unit of Works using MQBEGIN

Answers:
(1) True. User exit? You mean channel exit? Why worry about client mode connections when you are connecting in binding mode. I have heard rumors of people copying the Unix or Windows ***.mq.jar files to z/OS and then doing client connections from z/OS to a Solaris box.

(2) Yes, Java programs use PMO/GMO of v2 but it means the queue manager will not support those features of version 2 only.

(3) MQBEGIN is not supported under Java on any program. Please read the WMQ Using Java manual and the section on MQQueueManager (in particular, the methods: begin, backout & commit).

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Rudolf
PostPosted: Thu Dec 23, 2004 12:03 am    Post subject: Reply with quote

Newbie

Joined: 24 Nov 2004
Posts: 7
Location: Netherlands

Thank you, Roger.

You're right WMQ for Java does not support MQBegin (I missed that part which is mentioned on page 68 of the WMQ for Java manual).

I would very much like to know if I run into surprises if I'm using WMQ on Windows and deploy it on z/OS. Therefore I'm wondering if someone else has done something similar and has compiled a list of issues you should be aware of. I can't find anything on IBM's site and googling does not help me either.

Kind regards,
Rudolf de Grijs
Back to top
View user's profile Send private message
Rudolf
PostPosted: Thu Dec 23, 2004 12:13 am    Post subject: Reply with quote

Newbie

Joined: 24 Nov 2004
Posts: 7
Location: Netherlands

One more question, Roger.

Does WMQ for Java support user exits for bindings mode? The manual says it doesn't (this is mentioned on page 79, section Writing user exits).

Kind regards,
Rudolf de Grijs
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 23, 2004 11:30 am    Post subject: Reply with quote

Grand High Poobah

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

The answer is a little bit dual.
It does support the exits only exits have to be written in C
So no it does not support any exits written in java.

Exception : security exits client side (see MQEnvironment and MQQueueConnectionFactory)

Enjoy
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Thu Dec 23, 2004 12:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

Using the same Jar files (or classes) on z/OS as Windows is not a problem. If you are accessing files from USS filesystem then nothing to worry about. But if you need access to a sequential file or a member of a dataset then you need to use IBM's JRIO package.

And if you are a mainframe guy, who wants to code up some JCL to run a batch job, then please take note: Java cannot access DDs listed in the JCL. (A real pain)

Other than that, Java is Java.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Rudolf
PostPosted: Thu Dec 23, 2004 5:22 pm    Post subject: Reply with quote

Newbie

Joined: 24 Nov 2004
Posts: 7
Location: Netherlands

Thank you for the valuable information .

Rudolf
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 » IBM MQ API Support » Limitation MQI on z/OS
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.