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

CICS and MQ with trigger


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gosia

New User


Joined: 19 Apr 2006
Posts: 10

PostPosted: Thu Jun 15, 2006 2:20 am
Reply with quote

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

New User


Joined: 06 Jul 2005
Posts: 40

PostPosted: Fri Jun 16, 2006 9:41 pm
Reply with quote

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

New User


Joined: 11 Dec 2005
Posts: 4
Location: hyderabad

PostPosted: Thu Jun 22, 2006 1:40 pm
Reply with quote

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

New User


Joined: 06 Jul 2005
Posts: 40

PostPosted: Thu Jun 22, 2006 2:18 pm
Reply with quote

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

New User


Joined: 19 Apr 2006
Posts: 10

PostPosted: Thu Jun 22, 2006 11:58 pm
Reply with quote

THANK YOU pRASAD, VERY MUCH!!!
GOSIA
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top