Author |
Message
|
Rudolf |
Posted: Wed Dec 22, 2004 3:48 am Post subject: Limitation MQI on z/OS |
|
|
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 |
|
 |
RogerLacroix |
Posted: Wed Dec 22, 2004 10:21 am Post subject: Re: Limitation MQI on z/OS |
|
|
 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 |
|
 |
Rudolf |
Posted: Thu Dec 23, 2004 12:03 am Post subject: |
|
|
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 |
|
 |
Rudolf |
Posted: Thu Dec 23, 2004 12:13 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Dec 23, 2004 11:30 am Post subject: |
|
|
 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 |
|
 |
RogerLacroix |
Posted: Thu Dec 23, 2004 12:14 pm Post subject: |
|
|
 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 |
|
 |
Rudolf |
Posted: Thu Dec 23, 2004 5:22 pm Post subject: |
|
|
Newbie
Joined: 24 Nov 2004 Posts: 7 Location: Netherlands
|
Thank you for the valuable information .
Rudolf |
|
Back to top |
|
 |
|