|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Variation in Using MA12 Example MQ Batch Trigger |
« View previous topic :: View next topic » |
Author |
Message
|
zpat |
Posted: Fri Jul 31, 2009 7:16 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
rtsujimoto |
Posted: Fri Jul 31, 2009 9:56 am Post subject: |
|
|
Centurion
Joined: 16 Jun 2004 Posts: 119 Location: Lake Success, NY
|
I've developed my own batch trigger monitor, using MA12 as a reference. It's been running for over 10 years without any problems, so I don't understand the criticism that it's more trouble than it's worth. Aside from that, I have one suggestion. Undoubtedly, whoeve imposed this requirement on you to use MA12 as a mechanism for submitting batch jobs (via Control-M, or whatever), there's a fair chance that you might be asked to support some other task via MA12 in the future. So, my suggestion is to design your batch trigger monitor so that it can "launch" any arbitrary job. I used the Application ID ins a process definition as a key into a table, which then allowed me to submit the job associated with that key. It's pretty straightforward. Beyond that, you can get as fancy as you want, e.g. develop an interface to the batch trigger monitor to do things such as dynamically loading a new table, disable the submission of a particular job, display statistic, and so forth. Good luck. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jul 31, 2009 12:08 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
Compared to UNIX and Windows, triggering on z/OS is a bit more tricky. There are a variety of ways to launch work on MVS: started task, batch JCL submitted to JES, CICS, IMS. Much simpler on UNIX and Windows where there is really only one way.
Automation software can watch for events such as a message to the op console, or a dataset being created. My favorite is a message to op console.
The triggered app sends a message (WTO macro or equivalent). The content of the message varies by the application queue attributes or process attributes or trigger monitor app.
I suspect that there already exceptions to the rule that Control-M is the only way jobs get launched... _________________ 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 |
|
 |
|
|
|
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
|
|
|
|