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 » How to trigger a z/OS batch job from Windows Queue Manager

Post new topic  Reply to topic
 How to trigger a z/OS batch job from Windows Queue Manager « View previous topic :: View next topic » 
Author Message
Prithviraj
PostPosted: Mon Jan 05, 2015 11:37 pm    Post subject: How to trigger a z/OS batch job from Windows Queue Manager Reply with quote

Apprentice

Joined: 29 May 2014
Posts: 30

Hi all,

I have MQ running on windows and also have MQ explorer(Version: 7.5.0.2) installed in windows.

Now I want to enable trigger on one of the queues in Windows Queue Manager, and it has to trigger one z/OS batch job. I think it is possible because in MQ Explorer, in process definition, I can see "z/OS" in "Application type" drop down menu.

In that case I have following doubts

1) how will I give member(RUNJCL) name in Application ID ? How windows can connect to my mainframe machine, which has another IP, and how can it find the member ?

2) Where should I give RACF credentials ?

3) How to make connectivity between mainframes and Windows ?

I have many more doubts, but I am not posting all my doubts here.

Could someone please explain me how to trigger a BATCH JOB IN z/OS FROM A QUEUE IN WINDOWS

I tried searching the same in internet but was unable to find any helpful links or documents.

Please help me in achieving this.

Thanks and Regards
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Jan 06, 2015 1:50 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

You need a trigger monitor running in the environment where the application is to run, so you need a trigger monitor that is running on z/OS.

The trigger monitor needs to be able to MQGET a trigger message from its Initiation Queue. Therefore the trigger monitor (which is an MQ application too) needs to be able to connect to a queue manager.

Since the only way to connect to a queue manager from a z/OS application is to connect locally (no client connection from application on z/OS to queue manager somewhere else), the only answer is to have a z/OS queue manager.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Prithviraj
PostPosted: Tue Jan 06, 2015 4:14 am    Post subject: Reply with quote

Apprentice

Joined: 29 May 2014
Posts: 30

Thank you Hughson,

I understood what you had explained. I agree with what you had told, but what made me confused is - "z/OS" is shown as "Application type" in process definition in Windows MQ Explorer for Windows Queue Manager.

"z/OS" is shown as an application type that can be triggered from windows queue manager(as per MQ Explorer Process Definition option) which implies it can be directly triggered by Windows queue manager( which contradicts your reply).

Quote:
Since the only way to connect to a queue manager from a z/OS application is to connect locally (no client connection from application on z/OS to queue manager somewhere else), the only answer is to have a z/OS queue manager.


But how a Queue Manager from z/OS will understand that a message has arrived in windows Queue unless both Windows and z/OS queue managers are brought under one cluster or manually defining channel and transmission queues? So, are you telling that I have to establish such a connection between the queue managers first ? Other than clustering and manually defining channels are there any alternatives?

Could you please let me know different ways of triggering an z/OS batch or CICS from windows queue manager.
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Jan 06, 2015 4:25 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

Prithviraj wrote:
I understood what you had explained. I agree with what you had told, but what made me confused is - "z/OS" is shown as "Application type" in process definition in Windows MQ Explorer for Windows Queue Manager.

"z/OS" is shown as an application type that can be triggered from windows queue manager(as per MQ Explorer Process Definition option) which implies it can be directly triggered by Windows queue manager( which contradicts your reply).
It is unfortunate that this confusion happened. But trust me, more that the ability to define a process object with Application Type of z/OS is required to successfully trigger an application. It is too large an assumption to make that you can trigger a z/OS application from Windows just because of that definitional anomaly.

Prithviraj wrote:
So, are you telling that I have to establish such a connection between the queue managers first ?
Yes

Prithviraj wrote:
Other than clustering and manually defining channels are there any alternatives?
Those are the two options - how many more ways would you like?

Prithviraj wrote:
Could you please let me know different ways of triggering an z/OS batch or CICS from windows queue manager.
You have been told the way now - there are no different ways - use the mechanism that is provided, another way is not required.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Tue Jan 06, 2015 6:11 am    Post subject: Reply with quote

Poobah

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

The application type PROCESS attribute only describes the platform that the triggered app executes on.

In z/OS, there are a variety of types of work (CICS, IMS, JES batch JCL, TSO, ...); and therefore, there is no single equivalent of runmqtrm for Windows/UNIX.

What kind of z/OS application do you want to launch?

For example, http://www-01.ibm.com/support/knowledgecenter/SSGMCP_5.2.0/com.ibm.cics.ts.wmq.adapter.doc/topics/fg13960_.html describes how to start a CICS transaction. This presumes that a message arrives on a z/OS queue-manager triggered queue.
_________________
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
bruce2359
PostPosted: Tue Jan 06, 2015 6:16 am    Post subject: Reply with quote

Poobah

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

bruce2359 wrote:
The application type PROCESS attribute only describes the platform that the triggered app executes on.

In z/OS, there are a variety of types of work (CICS, IMS, JES batch JCL, TSO, ...); and therefore, there is no single equivalent of runmqtrm for Windows/UNIX.

What kind of z/OS application do you want to launch?

For example, http://www-01.ibm.com/support/knowledgecenter/SSGMCP_5.2.0/com.ibm.cics.ts.wmq.adapter.doc/topics/fg13960_.html describes how to start a CICS transaction. This presumes that a message arrives on a z/OS queue-manager triggered queue.


http://www-01.ibm.com/support/docview.wss?uid=swg24000076 describes supportpac MA12: MQSeries for MVS/ESA - Batch trigger monitor.

Do a bit of research on google for 'z/OS+mq+trigger monitor'.
_________________
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
CAONIMA
PostPosted: Mon Feb 02, 2015 7:46 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Dec 2014
Posts: 65

Any updates?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Feb 03, 2015 1:18 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The last post (from Bruce2359) indicated that the OP should do some googling.
since they never responded we can only assume that the problem was solved.

Were you really asking something like this

I have the same problem. What was the solution used?

Perhaps you would care to elaborate?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » How to trigger a z/OS batch job from Windows Queue Manager
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.