Author |
Message
|
wilsonho3 |
Posted: Wed Oct 16, 2002 6:40 am Post subject: multiple CKTI monitoring transaction |
|
|
Voyager
Joined: 20 Nov 2001 Posts: 98 Location: Hong Kong
|
I have a lot of CICS transactions to be triggered. Can I start more than
one CKTI monitoring transation to get message from init. queue.
if so, How can I do that
wilson Ho |
|
Back to top |
|
 |
oz1ccg |
Posted: Wed Oct 16, 2002 7:15 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
Why use more than one ??
You have the reason ... INIT msgs are quing up ?
CKTI open the initiation queue exclusive.., so there can be only one CKTI transaction on a initiation queue. However you can hav multible init. queues with it's own CKTI.
Another way arround is route the triggered transaction to another cics, if it's because of lack of service in the trigger CICS where CKTI is resideing.
One of my customers are heavly using that approach, with only one CKTI task per qmgr in the production environment, without any problems (+mio. transactions a day). The problems I've face was that the CICS had a bad priority in WLM, and CKTI could have low priority....... this will give queues.
I'm looking forward to hear your reason.
Just my $0.02  _________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
Back to top |
|
 |
techno |
Posted: Wed Mar 17, 2004 4:07 pm Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Could you briefly tell on how do you set up CKTI? Any documentation help. I say Admin Guide. It says how to start and stop. How do you configure CKTI?
Thanks |
|
Back to top |
|
 |
oz1ccg |
Posted: Thu Mar 18, 2004 3:46 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
I have the topic under construction here:
http://mrmq.dk/CICStrouble.htm
you add the INITPARM to your CICS-SIT SYSIN like this:
INITPARM=(CSQCPARM='SN=CSQ1,TN=001,IQ=ATGLQUEUE')
This will cause TESTCICS to start CKTI (If allowed by SAF), and if ATGLQUEUE is defined and the program is available aso.
You can also start CKTI via CKQC transaction, like I did in my example.
PS: Comments appreciated
Just my $0.02  _________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Last edited by oz1ccg on Thu Mar 18, 2004 3:55 am; edited 1 time in total |
|
Back to top |
|
 |
bob_buxton |
Posted: Thu Mar 18, 2004 3:49 am Post subject: |
|
|
 Master
Joined: 23 Aug 2001 Posts: 266 Location: England
|
You can have multiple CKTIs (in different CICS reqions) monitoring the same initiation queue, you need to ensure the queue is defined to allow shared access (CKTI opens the queue with MQOO_INPUT_AS_Q_DEF option).
As has been discussed many times on these forums you should not use trigger type Every but should alwayss use trgger type First.
You need to read carefully the descriptions of triggering in the APR
You can control CKTI through the CKQC transaction or have it automatically started during CICS start up. _________________ Bob Buxton
Ex-Websphere MQ Development |
|
Back to top |
|
 |
techno |
Posted: Thu Mar 18, 2004 9:37 am Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Can I use CKTI to trigger a JCL?
Thanks |
|
Back to top |
|
 |
oz1ccg |
Posted: Thu Mar 18, 2004 2:27 pm Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
|
Back to top |
|
 |
techno |
Posted: Fri Mar 19, 2004 8:51 am Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
I am sorry. Not aware of mainframe. Need help in understanding this.
'MA1J CICS trigger monitor' page says:
Code: |
On IBM z/OS today, if you are using CICS for distributed queueing there is currently no channel initiator available. In order to implement WebSphere MQ triggering, the CICS trigger monitor transaction - CKTI - is required to monitor the initiation queue. |
What does it mean by 'using CICS for distributed queueing'? Can we use MVS also? I do not know eaxctly, how our current MQ working. Is this monitor not useful to start a JCL(my old question)
Thanks for helping me to understand the concepts
Thanks |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Mar 19, 2004 9:14 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Techno,
MVS can be (in this instance) considered the same as z/OS (and OS/390 that matter).
CTKI can be used to kick off a CICS transaction within a CICS environment....this transaction could submit a JCL stream, but you would have to write it yourself and it would depend on many things...like if your site allows jobs to enter the system from CICS, or indeed who is authorised to do it.
If you are simply just wanting a way of submitting a JCL stream into MVS (z/OS) then CKTI is maybe not the best method. The IBM support pack (MA12) runs as a batch trigger monitor and its whole reason for being is to submit JCL based upon the contents of a message.
CKTI is good at firing off CICS transactions (which is what it was designed to do), but it is up to those started transactions to process messages from the original queue.
Poeple would need to fully understand what the requirements are before they could recommend the best method of achiving what the requirements are....all I can say is that personally if the only purpose that you require is a way of submitting JCL based on MQ then CKTI is probably not what you want...MA12 or a variation of it is probably a better option. |
|
Back to top |
|
 |
|