Janet,

we do batch triggering on depth and first.   depends on the applications
need.

Instead of triggering the batch jobs directly, we trigger a scheduler
utility job.  The utility job is pretty simple,  and I've not seen it abend
once we have deployed it for each queue.   Since the scheduler knows about
the jobs that process the queues,  the developers are notified if their
jobs abend.  Additionally, the jobs that trigger depth, also have a nightly
batch run, that also resets triggering.

Glen Larson
Zurich North America



MQ Mailbox <[EMAIL PROTECTED]>@AKH-Wien.AC.AT> on 11/18/2004 01:56:35 PM

Please respond to MQSeries List <[EMAIL PROTECTED]>

Sent by:    MQSeries List <[EMAIL PROTECTED]>


To:    [EMAIL PROTECTED]
cc:

Subject:    Re: BATCH  messages advice requested



For  queue depth I was planning on having a batch job in their job stream
run that  issues the 'ALTER' command to set the trigger back on.  This
would be a  step that ran only if the job to read the queue was
successful.   If  they have an abend, they can fix there problem and run
the job again.  If  they rerun the job, the 'ALTER' step would run when the
previous step that  read the queue ran to a successful EOJ.
-----Original Message-----
From: Ronald Weinger  [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004  1:16 PM
To: [EMAIL PROTECTED]
Subject: Re: BATCH  messages advice requested



Another problem w/ triggering on depth is, if the job abends and the
qdepth is not below the trigger depth you can not reset the trigger.
That means  you need an application  person to fix the abend and manually
restart the job, and a MQ admin to   reset the trigger.
We had the  same issue and decided to go with schedules That way middleware
administrators  do not have to be involved if the application code abends..
When we explained  the complexity of handling a job abend the application
developers quickly  bought into a schedule.
They run every   business hour and pick up anywhere from 0 to several
hundred messages.  Operations monitors job abends and only need notify
the app owners.  We made the pagesets large enough  for a day's volume.




                                                                       
      "Bender, Alan"                                                   
      <[EMAIL PROTECTED]                                        
      N.COM>                          To:        [EMAIL PROTECTED]
      Sent by: "MQSeries List"                cc:              
      <[EMAIL PROTECTED]>                Subject:        Re:
                                      BATCH  messages  advice requested
      11/18/2004 01:42 PM                                              
      Please respond to                                                
      "MQSeries List"                                                  
                                                                       
                                                                       





Not to get into the nuts and bolts of triggering on  depth that has been
suggested by several already, it is not immediately  obvious that your
programmers MUST reset the trigger on depth before  terminating each time
or the trigger will turn OFF and never start your app  again.  This is
something small but it has driven many good  programmers to distraction.

Alan


-----Original  Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf  Of Dye,
Janet E
Sent: Thursday, November 18, 2004 11:28 AM
To:  [EMAIL PROTECTED]
Subject: BATCH messages advice  requested

Currently, most messages received on our mainframe qmgr are  destined to
CICS and are triggered 'on first' .  We are in the process  of putting in
a new application that will receive large volumes (50,000+)  of batch
messages from a vendor.  The messages will come in at  different times of
the day, sometimes being just a few messages at a time  and other times
being the large volume I just mentioned.  The  developer wants to
schedule a job that runs different times throughout the  day to process
these messages. My concern is that since volume is  unpredictable and as
more applications do this, it will become impossible  to plan disk space
to hold the number of messages that could potentially be  in the queues
any point in time.  My feeling is that I need to create  a policy that
messages are removed from a queue upon arrival or at least  upon arrival
of a certain volume.  I have suggested to the developer  that we will
need to set up a trigger to trigger 'on first' or on 'depth',  and they
code the program to do a MQGET with a wait of a minute or so.   I am
getting a little resistance to this in that they are concerned  about the
job being triggered a lot, and they would prefer to just schedule  it to
run every hour or so.

I am interested to know what  policy, if any, other shops have for this
situation.

Thanks

Janet Dye
Infrastructure Systems Engineer - Middleware
UMB Bank,  n.a.
1008 Oak Street - Mailstop 1170305
Kansas City, MO.  64106
office: 816-860-1109
cell  : 816-686-1544

Instructions  for managing your mailing list subscription are provided in
the Listserv  General Users Guide available at http://www.lsoft.com
Archive:  http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing  your mailing list subscription are provided in
the Listserv General Users  Guide available at http://www.lsoft.com
Archive:  http://vm.akh-wien.ac.at/MQSeries.archive



The information contained in this message may be CONFIDENTIAL and is for
the intended addressee only. Any unauthorized use, dissemination of the
information, or copying of this message is prohibited. If you are not the
intended addressee, please notify the sender immediately and delete this
message.





******************* PLEASE NOTE *******************
This E-Mail/telefax message and any documents accompanying this
transmission may contain privileged and/or confidential information and is
intended solely for the addressee(s) named above.  If you are not the
intended addressee/recipient, you are hereby notified that any use of,
disclosure, copying, distribution, or reliance on the contents of this
E-Mail/telefax information is strictly prohibited and may result in legal
action against you. Please reply to the sender advising of the error in
transmission and immediately delete/destroy the message and any
accompanying documents.  Thank you.
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to