ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How triggering done in Mainframe

Post new topic  Reply to topic
 How triggering done in Mainframe « View previous topic :: View next topic » 
Author Message
bobbytj
PostPosted: Mon Jul 09, 2001 6:59 am    Post subject: Reply with quote

Newbie

Joined: 08 Jul 2001
Posts: 4


Basically what I want to know is how the messages are triggered from Java to mainframe and vice versa . We have to use some cics transactions to trigger the queues from mainframe to windows/nt .The triggering may be happen when the number of messages reached some particular values or some sometimeframe .
Could somebody help me in getting some sample cobol Programs , jcls used for triggering a getmessage operation and put message operation. In Java we have the channel for transmission of messages from one queue to another.I dont find any channel concept there in mainframe.
How can we create local and Remote queues in Mainframe.Is there any panels for creating queues.



Back to top
View user's profile Send private message
kolban
PostPosted: Mon Jul 09, 2001 7:13 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

I am not skilled in MQSeries on the mainframe but on Unix or NT, for each queue that you want triggered, you define its trigger parameters and what event will cause the trigger. You then start a trigger monitor demon program such that when a message arrives in the application queue, a new message called "an initiation message" is sent to the "initiation queue". The initiation queue is being watched by the trigger monitor program and, when it receives an "initiation message", can start an arbitrary application defined as an "MQSeries Process". This application can be a Java app started from a shell script or .bat file. When executed, the application can then consume the message or messages that are now on the application queue.

MQSeries triggering has a lot of steps. I would strongly suggest that you review the material in Chapter 14 of the MQSeries Application Programming Guide. This is available on-line at

ftp://ftp.software.ibm.com/software/ts/mqseries/library/books/csqzal05.pdf
Back to top
View user's profile Send private message
bobbytj
PostPosted: Mon Jul 09, 2001 7:38 am    Post subject: Reply with quote

Newbie

Joined: 08 Jul 2001
Posts: 4

Could some body could help me how the triggering can be done using a JCL .
What is trigger monitor in cics?
Back to top
View user's profile Send private message
kolban
PostPosted: Mon Jul 09, 2001 7:57 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

See page 60 of the MQSeries for OS/390 Administration guide. It appears that the trigger monitor on MQ/390 is the CKTI transaction under CICS.
If you aren't running under CICS, I'm afraid I have nothing to offer. Suspect that the answer lies within the following manual:

ftp://ftp.software.ibm.com/software/ts/mqseries/library/books/csqsaw00.pdf

[ This Message was edited by: kolban on 2001-07-09 08:58 ]
Back to top
View user's profile Send private message
ChrisW
PostPosted: Tue Jul 10, 2001 12:58 am    Post subject: Reply with quote

Voyager

Joined: 20 May 2001
Posts: 78
Location: UK

CKTI is indeed the supplied CICS trigger monitor. For batch, you will have to write your own. However, it may be appropriate to write a program which will wait for messages to arrive on the queue (with FAIL_IF_QUESCING option). Otherwise you could schedule a job to run say every hour.

There are supplied ISPF panels for creating queues etc. Its all in the OS/390 System Management Guide.
Back to top
View user's profile Send private message Send e-mail
dmiller
PostPosted: Fri Jul 13, 2001 10:33 pm    Post subject: Reply with quote

Newbie

Joined: 16 May 2001
Posts: 1

IBM offers a support pack for triggering in batch.
Back to top
View user's profile Send private message Send e-mail
techno
PostPosted: Wed Mar 17, 2004 4:00 pm    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Can a JCL be not run through CKTI trigger monitor? Yes, is my guess. I am confused with what ChrisW has written.
Back to top
View user's profile Send private message
crossland
PostPosted: Thu Mar 18, 2004 2:56 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

Two trigger monitors are supplied with MQ on the mainframe:

CKTI - to trigger CICS transactions

CSQQTRMN - for IMS

In addition, supportpac MA12 provides two sample COBOL programs which can be used as MVS-Batch trigger monitors.

This can be found here:

http://www-306.ibm.com/software/integration/support/supportpacs/product.html

Regards,

Tim Crossland
http://www.solent-consultancy.com
Back to top
View user's profile Send private message
techno
PostPosted: Thu Mar 18, 2004 9:35 am    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Do we have to set up batch trigger monirors?

Thanks
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Mar 18, 2004 10:17 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

As is often the case with MQ the answer is...'it depends'....and as usual it depends on what the application requirements are. There are several ways that spring to mind on how a job could get submitted....but alas only one of them (The IBM support pack MA12) is already written for you.

If you are prepared to write your own trigger monitor (and it really is fairly easy to do...after all it is only really a specialized application program) you could have the program flag a job scheduler to submit a job, or it could submit a member of a PDS stright to the internal reader.

Lots of ways of doing it, the question is which is best for your shop. We don't run the IBM support pack (MA12) because we need to control where jobs get submitted from etc, our batch trigger monitor is a home grown multi-functional beast that runs 24x7.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How triggering done in Mainframe
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.