Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

TRIGTYPE in MQ series

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: TRIGTYPE in MQ series
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Select a series of records for matchi... ezhavendhan JCL & VSAM 4 Thu Feb 20, 2014 12:36 pm
No new posts Pushin xml data in MQ series with uni... Garry Carroll Java & MQSeries 1 Thu Dec 15, 2011 8:22 pm
No new posts ICETOOL/ DFSORT.... to do Series of S... ravi_k03 DFSORT/ICETOOL 2 Sun Oct 24, 2010 1:02 am
No new posts MQ Series Documents Elixir Java & MQSeries 2 Fri Jul 09, 2010 8:15 pm
No new posts Basics on MQ series Bhuvaneswari K Java & MQSeries 2 Fri Feb 19, 2010 5:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us