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
 

 

CICS and MQ with trigger

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: CICS and MQ with trigger
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    Post subject: Re: CICS and MQ with trigger
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    Post subject:
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    Post subject:
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.

http://***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    Post subject: Re: CICS and MQ with trigger
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


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