I wasn't really suggesting any change to the design, just pointing out that
the open handle is only good for the task that opened the queue.

I'm assuming that there are reasons these CICS programs are running as
separate tasks and that we may even be talking about transactions that
might run concurrently. The invention of a architecture to support these
many transactions through a single long running task may be far more costly
(overhead and response time) than the Opens and Closes that you are trying
to avoid.

If I had an application that would access the queue many times during the
life of the task, I would certainly look at the design to simply maintain
the handle for the life of the task. But I have yet to see an impact of
opening a queue that would warrant designing a whole architecture around
artificially sharing a queue handle.

Rick


|---------+--------------------------------------->
|         |   Dean Montevago                      |
|         |   <[EMAIL PROTECTED]>              |
|         |                                       |
|         |   Sent by: MQSeries List              |
|         |   <[EMAIL PROTECTED]>           |
|         |                                       |
|         |                                       |
|         |                                       |
|         |   Monday September 20, 2004 03:26 PM  |
|         |   Please respond to MQSeries List     |
|         |                                       |
|---------+--------------------------------------->
  
>----------------------------------------------------------------------------------------------------|
  |                                                                                    
                |
  |       To:                                         [EMAIL PROTECTED]                
          |
  |       cc:                                                                          
                |
  |       Subject:   Re: Keeping MQ Queues Open                                        
                |
  
>----------------------------------------------------------------------------------------------------|




thanks. unfortuantely I don't know if we can turn this into a long running
task. That has to be investigated.

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Richard
Brunette
Sent: Monday, September 20, 2004 4:10 PM
To: [EMAIL PROTECTED]
Subject: Re: Keeping MQ Queues Open


Can you keep a queue open all day in CICS? Yes, as long as you keep the
task that is using it running all day.

It sounds like your trying to avoid each transaction opening and closing
the queue. This cannot be done. The scope of any open handle on any MQ
object in CICS is that instance of the transaction(the task). Any task that
is going to access the queue, must open the queue. Every task should close
any queue opened before it ends ( if you don't explicitly, you'll see that
its going to be closed on you anyway).

Rick


|---------+--------------------------------------->
|         |   Dean Montevago                      |
|         |   <[EMAIL PROTECTED]>              |
|         |                                       |
|         |   Sent by: MQSeries List              |
|         |   <[EMAIL PROTECTED]>           |
|         |                                       |
|         |                                       |
|         |                                       |
|         |   Monday September 20, 2004 01:42 PM  |
|         |   Please respond to MQSeries List     |
|         |                                       |
|---------+--------------------------------------->

>
---------------------------------------------------------------------------
-------------------------|
  |
|
  |       To:
[EMAIL PROTECTED]                          |
  |       cc:
|
  |       Subject:   Keeping MQ Queues Open
|

>
---------------------------------------------------------------------------
-------------------------|




Hi,

We have a application that sends data from z/OS to AIX. All the MQ work on
z/OS is done from a program that is linked to by a number of CICS programs.
There are 5 channels/queues going down to the AIX. The data is spread
across
the channels/queues via a key in the message. What I'd like to know is, can
the queues be opened once and left open for the entire processing day ? and
closed at EOD. Now, when the transaction ends the objects are closed. I was
curious if repeated opens are costly ? and looking to avoid that. The
application folks want to keep the MQ program as simle as possible. We do
7-10 million messages a day, I know there are places that do many times
more
than this and I'm curious how they handle it. Any input would be greatly
appreciated.

TIA
Dean

Dean Montevago
Sr. Systems Specialist
Visiting Nurse Service of New York

phone: (212) 609 - 5596
email: [EMAIL PROTECTED]

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

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

Reply via email to