Author |
Message
|
ivanachukapawn |
Posted: Thu Nov 16, 2006 11:31 am Post subject: USS and Z/OS interconnectivity questions |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
USS and Z/OS are running on the same mainframe.
Can we have a Java App running in the USS client connect (via SVRCONN) to a Queue Manager running on Z/OS? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 16, 2006 2:04 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Only if you have the CAF...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Thu Nov 16, 2006 2:20 pm Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
Thanks FJP
I'm glad to hear it can be done. However (I'm a complete newbie to both Z/OS and USS, having experience only in AIX, Solaris,Windows) I tried a search on CAF (in the online information center) and did not get a hit. Ah..... I searched on MQSeries.Net and found a couple of references. One in particular says that it is the 'Channel Attachment Facility' and it needs to be on 'the host'.
I assume the CAF is optional for MQ on Z/OS. Do you think it is usually configured on Z/OS MQ environments? If not, is it available for configuration as part of the license agreement for MQ6.0 on Z/OS? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 16, 2006 3:18 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
CAF or Client attachment facility is an extra licence item for ZOS.
I do not know if you can make a java client connection from USS to a distributed qmgr (it is not possible from ZOS). ZOS with CAF would then just count as another distributed qmgr.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 16, 2006 5:46 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You cannot, in any way shape or form, establish an MQClient connection from any portion of a z/OS operating system.
Except, perhaps from z/Linux. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 16, 2006 7:28 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
You cannot, in any way shape or form, establish an MQClient connection from any portion of a z/OS operating system.
Except, perhaps from z/Linux. |
Forgive my lack of knowledge but do you place USS under the z/OS umbrella or consider it a different MF os system?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 16, 2006 8:35 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
As far as I know, there is no way to establish an outbound MQ client connection from USS. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Fri Nov 17, 2006 5:33 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
Jeff and FJB,
If I understand your latest posts on this topic, USS and Z/OS on the same mainframe at NOT MQ interoperable?
Please correct me if I am wrong about this.
premises:
It looks like USS cannot make a client connection to a Z/OS queue manager even when the Z/OS MQ is equipped with CAF.
It is not possible for MQ Server to be installed on USS and therefore USS cannot host a queue manager with sender receiver channels to a Z/OS queue manager? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Nov 17, 2006 5:49 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It has to be possible to access a zOS queue manager from USS. Message Broker does this all the time.
Just not using a client connection.
I don't know the details, I'm not a zOS person. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Nov 17, 2006 5:57 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
AFAIK A program running under USS should be able to Connect to a z/OS queue manager. MQWorkflow does it all the time.
Have you tried it? What error are you getting? |
|
Back to top |
|
 |
wschutz |
Posted: Fri Nov 17, 2006 6:15 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Nov 19, 2006 8:54 am Post subject: MQ and z/OS UNIX |
|
|
Guest
|
z/OS UNIX is a component of the z/OS operating system (the MVS base control program - BCP). We don't boot UNIX on the mainframe as you would in a mid-range UNIX platform. As usual (and conforming to the POSIX standard) UNIX apps are unaware of the configuration.
Traditional UNIX users can rlogin or telnet in to see a traditional UNIX-looking shell environment. Alternatively, traditional MVS users can log in to use an MVS ISPF panel-based ISHELL, or command-line based OMVS shell. With ISHELL (Note: pronounced eye-shell, not is-hell), users can toggle between panel- and command-line environments. This enables mainframe users to toggle easily between MVS work and UNIX work.
Some platforms support MQ clients only, both clients and MQ servers (qmgrs), or qmgrs only. The mainframe supports qmgrs only. There is no MQ Client for the mainframe (z/OS). The mainframe can be an MQ server for client connections from other platforms.
From the application developers point of view, the output of a mainframe compile can be directed to either (or both) a traditional MVS load library or down the unix path into a z/OS HFS (or zFS). Programs can be executed in batch or online from either (or both) a traditional MVS load library or from the unix path in a z/OS HFS (or zFS). .
Programs written to the UNIX POSIX standard (with no platform-dependent UNIX extentions) can be ported to the mainframe, to take advantage of all the things that mainframes do well. z/OS UNIX extentions enable UNIX mainframe applications to work with both HFS/zFS and MVS datasets. HFS/zFS's can be shared among many instances of z/OS UNIX in sysplex.
Java bindings enable Java class and JMS apps to do MQ things.
See the MQ Application Programmers Guide and MQ Application Programmers Guide.
Two IBM z/OS UNIX training classes to consider. Neither are MQ-specific.
2.5 day OP052 Introducing z/OS UNIX System Services. This is hands-on working with mainframe UNIX shells and utilities. No mainframe or UNIX skills required. Prerequisite is just an IT background.
4.0 day OP251 z/OS UNIX System Services Implentation. This is the z/OS UNIX system administration course. |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Sun Nov 19, 2006 10:20 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
Bruce,
I am particularly interested in this excerpt from your post:
Quote: |
The mainframe can be an MQ server for client connections from other platforms. |
I do not know if in this context Z/OS USS is considered another platform.
What I'd like to do is run a Java program in USS which obtains a Client Connection (via clear SVRCONN) to a Z/OS queue manager.
When I asked early if this could be done, one grandmaster indicated that I could do it if CAF (Channel Adapter Facility) was installed. Another grandmaster intimated that Z/OS USS is considered part of Z/OS and as such client connections could not be made.
I don't know who is correct on this point.
Do you know of anyone who has actually run a Java App under USS which obtained a client connection to Z/OS queue manager (and if so, if CAF was required to make this work?). |
|
Back to top |
|
 |
ivanachukapawn |
Posted: Sun Nov 19, 2006 10:23 am Post subject: |
|
|
 Knight
Joined: 27 Oct 2003 Posts: 561
|
Kevin,
I haven't had an opportunity to prototype a USS Java App getting a client connection to Z/OS queue manager but this opportunity will probably present itself to me week of 11/27. I'm just trying to get a jump on this problem before then. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Nov 19, 2006 1:55 pm Post subject: |
|
|
Guest
|
z/OS USS is part of the z/OS (MVS) base; and therefore considered the same platform. There is no MQ client for the mainframe. That is, a mainframe application can not be a client of another platform qmgr. But MQ for z/OS can be a server that clients on other platforms connect to.
The MQ for z/OS Client Attachment Feature is a prerequisite for the z/OS MQ qmgr to be a server for client applications on other platforms. On MQ for z/OS you define SVRCONN channels (just like other platforms). And you can define CLNTCONN channels; then export the client channel table or use the mqserver= environment variables to connect to MQ on z/OS.
Do you know of anyone who has actually run a Java App under USS which obtained a client connection to Z/OS queue manager (and if so, if CAF was required to make this work?). Yes and it depends. See below.
From WebSphere MQ Using Java manual.
Can an (z/OS-based) application connect in client mode? No. With this exception: 3. However, a WebSphere MQ JMS application running under WebSphere Application Server on z/OS can connect in client mode.
Can an application connect in bindings mode? Yes. |
|
Back to top |
|
 |
|