View previous topic :: View next topic
|
Author |
Message |
gosia
New User
Joined: 19 Apr 2006 Posts: 10
|
|
|
|
Hi,
I need to write a CICS program that reads messages from MQSeries Queue. Queue will trigger execution of this new program when a message arrives. Is there any special processing to retrieve mesages from MQ Queue with trigger ?
Possibly will U have any examples????
Thank you and please help.
Gosia |
|
Back to top |
|
|
gsnvsr
New User
Joined: 06 Jul 2005 Posts: 40
|
|
|
|
gosia wrote: |
Hi,
I need to write a CICS program that reads messages from MQSeries Queue. Queue will trigger execution of this new program when a message arrives. Is there any special processing to retrieve mesages from MQ Queue with trigger ?
Possibly will U have any examples????
Thank you and please help.
Gosia |
You have a MQ with trigger set. And it runs a program when the trigger event occurs. After this, all that you would do is read the queue in the way you want. If you want to read a particualar message, read the queue with Message Id. Otherwise read sequentially.
The only difference in the way you access MQ in CICS as opposed to batch is that - you'll NOT have to connect and disconnect explicitly.
MQ application programming guide/reference is available on the net. You may want to download them to get some help with coding. Whereas the MQ Series Primer helps understanding basic concepts.
Best regards, Prasad |
|
Back to top |
|
|
appanna babu
New User
Joined: 11 Dec 2005 Posts: 4 Location: hyderabad
|
|
|
|
HELLO,
THIS IS BABU.I HAVE A QUERY FOR YOU, HOPE YOU COULD SOLVE THIS. I HAVE A LARGE AMOUNT OF DATA IN CICS REGION AND I WANT TO SEE THE DATA IN ONE PAGE AT A TIME (ie., i want to scroll the page).WHAT SHOULD I DO? |
|
Back to top |
|
|
gsnvsr
New User
Joined: 06 Jul 2005 Posts: 40
|
|
|
|
appanna babu wrote: |
HELLO,
THIS IS BABU.I HAVE A QUERY FOR YOU, HOPE YOU COULD SOLVE THIS. I HAVE A LARGE AMOUNT OF DATA IN CICS REGION AND I WANT TO SEE THE DATA IN ONE PAGE AT A TIME (ie., i want to scroll the page).WHAT SHOULD I DO? |
Firstly, what this question has got to do with CICS and MQ trigger ? If you are seriously looking for a solution, open a new thread with appropriate subject. Please read posting rules.
Well, to answer your question, I can not give you the code. But here a link that explains the logic behind scrolling if you wanna implement.
***READ FORUM RULES***.net/vbforums/showthread.php?t=7226&highlight=scroll |
|
Back to top |
|
|
gosia
New User
Joined: 19 Apr 2006 Posts: 10
|
|
|
|
THANK YOU pRASAD, VERY MUCH!!!
GOSIA |
|
Back to top |
|
|
|