|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Triggering a batch process in OS/390 Mainframe |
« View previous topic :: View next topic » |
Author |
Message
|
sahus |
Posted: Mon Mar 11, 2002 11:58 am Post subject: |
|
|
Newbie
Joined: 10 Mar 2002 Posts: 3 Location: Ohio
|
I am trying to implement MQSeries in batch environment on a OS/390 Mainframe machine. This is the scenario...A application AppX writes to our Queue intermittently.
My question is how can i make use of a trigger to monitor the queue in batch mode. Can I write a trigger so that as and when i receive 'n' number of messages on my queue a process should start?. And what would be the process be? a JCL or the name of a COBOL program which is coded to process the messages lying in the queue.?
Appreciate your time and effort in advance. |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Mar 11, 2002 12:19 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You could very well use the standard trigger monitor instead of writing one for you in this scenario. You need to configure your xmtiq to trigger on "depth" and you could specify the number of messages on which the trigger monitor should trigger the application defined in the process definition.
Coming to your next question.
What you could do is, in you process definition, call the batch file itself or any program which you wish to execute.
Hope this helps.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
EddieA |
Posted: Mon Mar 11, 2002 12:54 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Kumar,
From memory, OS/390 does not come with a 'batch' trigger monitor. The only one supplied is for CICS and is used to start other CICS transactions.
There is, however, a Support Pac, MA12, that provides a 'batch' trigger monitor. This is written in COBOL and can be modified to suit.
Cheers,
_________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Mar 11, 2002 1:22 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Eddie,
What i meant with batch triggering here was that you could have a batch program/file invoked through the process object. Which in turn could call a number of programs/scripts.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
StefanSievert |
Posted: Mon Mar 11, 2002 6:05 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
How would you invoke that MAINFRAME (or any other) batch job through an MQ process object without using a trigger monitor?
Can you elaborate?
Thanks,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|