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?
Joined: 17 Aug 2007 Posts: 311 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?
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?