Author |
Message
|
Remco |
Posted: Tue Sep 23, 2003 3:46 am Post subject: Queue Last Opened ??? |
|
|
Acolyte
Joined: 19 Mar 2002 Posts: 68 Location: Capelle aan den IJssel (Rotterdam)
|
Hi all,
We are selling a product for which customers have to connect to our OS/390 every once in a while. For Each customer we have a queue defined. Now what I want to do, is meassure how frequent customers connect. fe. if a customer connects with intervals of more than 20 days, we want to know about it so we can contact him.
We are using Candle Omegamon icw CandleNet Portal (my question is not about one of those products).
What I want to do is the following: I want to do a daily check on those queue's looking for something like "Queue_Last_Opened" and compare this with the current date.
Now here is the question : Is there a field like this ("Queue_Last_Opened") ? and if so will this field be filled even after an IPL ?
Hope someone can tell me this.... Thanx....
Remco |
|
Back to top |
|
 |
pgorak |
Posted: Tue Sep 23, 2003 4:29 am Post subject: |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
I'm afraid such a field does not exist. However, if you keep messages in your queues and they wait there to be retrieved by the clients, you can use PUTTIME and PUTDATE of the first message on a queue to find out that the client hasn't been consuming messages for such-and-such period.
If this doesn't meet your requirements, please give some more details on the processing of messages.
Piotr |
|
Back to top |
|
 |
Remco |
Posted: Tue Sep 23, 2003 6:32 am Post subject: |
|
|
Acolyte
Joined: 19 Mar 2002 Posts: 68 Location: Capelle aan den IJssel (Rotterdam)
|
Thanks for the reply... That explains why I couldn't find such field. The option you named is (unfortunattely) not usefull for me.
Remco |
|
Back to top |
|
 |
kevinf2349 |
Posted: Tue Sep 23, 2003 7:13 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Have you got SMF recording switched on for MQ on the 390?
If so.....I would check those out for the information you are wanting. |
|
Back to top |
|
 |
mgrabinski |
Posted: Wed Sep 24, 2003 10:36 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
You will need enhanced accounting trace to have information who and when opened your queues. Start the trace using the following command:
Code: |
+qmgr START TRACE(ACCTG) CLASS(03)
|
Then use support pack MP1B (excellent tool IMO) or equivalent to read the data need.
Be warned however, that the enhaced accounting trace produces a lot of data. _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
Remco |
Posted: Wed Sep 24, 2003 11:52 pm Post subject: |
|
|
Acolyte
Joined: 19 Mar 2002 Posts: 68 Location: Capelle aan den IJssel (Rotterdam)
|
Thanks for the advice, but since this trace produces a lot of data, and I have to monitor this at all time. This unfortunattely isn't an option.
Remco |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 25, 2003 6:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Then you probably need an API crossing Exit.
This will allow you to log every single MQI action (open, put, get, close, commit, rollback, etc) if you want. Or only the ones you're interested in.
See the Z/Os systems administration guide for more information. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|