Author |
Message
|
Hira |
Posted: Mon May 24, 2004 8:48 am Post subject: Interactive Trigger |
|
|
Novice
Joined: 24 May 2004 Posts: 21 Location: Dalton,GA
|
I want to build a Inquiry system on AS/400 using MQSeries. Each call take time to process and I want to process in interactive mode. If there is more then one requests. Is there any way I can process multiple requests interactively at same time. Other words, can we have interactive triggers ?? |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 24, 2004 8:55 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So, what, you want a new screen to open up every time there is a message?
So if someone puts 1000 messages into the queue all at once, you get 1000 new screens?
Why?
Regardless, the way to do this is completely separate from the way you set up your triggering.
A triggered application should process every message that is on the queue when it starts up, and keep processing new messages until there are no more messages at all.
How the application processes the messages has nothing to do with how the triggering is run. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Hira |
Posted: Mon May 24, 2004 9:04 am Post subject: |
|
|
Novice
Joined: 24 May 2004 Posts: 21 Location: Dalton,GA
|
Let me explain in detail. I'm not going to popup any screen but I don't wanna submit a batch job. Its our inhouse requirement from Mainframe to AS/400. There will be possibility of 4-5 messages at same time. Whenever there is any message on queue. It has to process that request on as/400 and send another message to Mainframe as reply. I hope this will clear my requirment. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 24, 2004 9:10 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Oh, okay. Interactive v.s batch.
I don't know AS/400 well enough, sorry. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JT |
Posted: Mon May 24, 2004 10:38 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Hira,
Minimally, you'll need a queue definition configured to trigger, with a type of 'every' and a process definition. The process defintion should have an appltype of 'MQAT_OS400' and an applid that identifies the application to be started. |
|
Back to top |
|
 |
Hira |
Posted: Wed Jun 09, 2004 5:07 am Post subject: |
|
|
Novice
Joined: 24 May 2004 Posts: 21 Location: Dalton,GA
|
Thanks JT, It working fine for me. |
|
Back to top |
|
 |
|