IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

TRIGTYPE in MQ series


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mr.Niceguy

New User


Joined: 16 Jun 2005
Posts: 63

PostPosted: Thu May 08, 2008 12:27 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu May 08, 2008 6:32 pm
Reply with quote

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
View user's profile Send private message
Mr.Niceguy

New User


Joined: 16 Jun 2005
Posts: 63

PostPosted: Fri May 09, 2008 6:06 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri May 09, 2008 6:32 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. COBOL/CICS with real time MQ Series u... CICS 2
No new posts Select a series of records for matchi... JCL & VSAM 4
No new posts Pushin xml data in MQ series with uni... Java & MQSeries 1
No new posts ICETOOL/ DFSORT.... to do Series of S... DFSORT/ICETOOL 2
No new posts MQ Series Documents Java & MQSeries 2
Search our Forums:

Back to Top