Author |
Message
|
bobbytj |
Posted: Mon Jul 09, 2001 6:59 am Post subject: |
|
|
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 |
|
 |
kolban |
Posted: Mon Jul 09, 2001 7:13 am Post subject: |
|
|
 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 |
|
 |
bobbytj |
Posted: Mon Jul 09, 2001 7:38 am Post subject: |
|
|
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 |
|
 |
kolban |
Posted: Mon Jul 09, 2001 7:57 am Post subject: |
|
|
 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 |
|
 |
ChrisW |
Posted: Tue Jul 10, 2001 12:58 am Post subject: |
|
|
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 |
|
 |
dmiller |
Posted: Fri Jul 13, 2001 10:33 pm Post subject: |
|
|
Newbie
Joined: 16 May 2001 Posts: 1
|
IBM offers a support pack for triggering in batch. |
|
Back to top |
|
 |
techno |
Posted: Wed Mar 17, 2004 4:00 pm Post subject: |
|
|
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 |
|
 |
crossland |
Posted: Thu Mar 18, 2004 2:56 am Post subject: |
|
|
Master
Joined: 26 Jun 2001 Posts: 248
|
|
Back to top |
|
 |
techno |
Posted: Thu Mar 18, 2004 9:35 am Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Do we have to set up batch trigger monirors?
Thanks |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Mar 18, 2004 10:17 am Post subject: |
|
|
 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 |
|
 |
|