View previous topic :: View next topic
|
Author |
Message |
Mr.Niceguy
New User
Joined: 16 Jun 2005 Posts: 63
|
|
|
|
Hi all,
I have an condition in my CICS program to read only first 500 records from MQ to process, where the count of reading records from queue cannot be edited.
But the queue may populate more than 500 records. By that time, the rest of the records could not be read by my CICS program in a single transaction.
So I thought of processing those records aswell from MQ in that first transaction itself. Is there any way to read those records aswell without firing one more transaction?
I read something about the parameters in MQ like TRIGTYPE and all. But it did not give clarity. Can it be done just by changing the value of MQ parameter TRIGTYPE?
Thanks in advance. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
TRIGTYPE will control when your transaction gets started. How does your transaction start now? Do you currently use an MQ trigger or does a person start it manually? |
|
Back to top |
|
|
Mr.Niceguy
New User
Joined: 16 Jun 2005 Posts: 63
|
|
|
|
Thanks for your reply Dennis,
We have an automated batch job which will trigger the CICS transaction. It will read the records from MQ. But we have only the load of application program where the reading of records from MQ is limited to 500. So again we are resubmitting the same job to read rest of the triggers.
So is there any way to control from MQ parameters which should read all the records from MQ in a single transaction?
Thanks again, |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
There's nothing that the TRIGTYPE can do if the program can only handle 500.
Your solution is to change your transaction to process all messages when there are more than 500. Why the limitation? |
|
Back to top |
|
|
|