Author |
Message
|
gsrinidhi |
Posted: Thu Feb 16, 2006 3:14 pm Post subject: CICS Bridge triggering |
|
|
Novice
Joined: 17 Jan 2006 Posts: 17 Location: mi
|
Hi,
I have defined these definition in Queue manager, but I am not able to trigger CKBR .... why? There are no trigger message generated.
Please let me know if you have an idea....
DEFINE QLOCAL(E.BRIDGE.QUEUE) STGCLASS(DEFAULT) +
SHARE DEFSOPT(SHARED) DESCR('EFLEX APPLICAITON') DEFPSIST(YES) +
MAXDEPTH(20000) TRIGGER TRIGTYPE(FIRST) MSGDLVSQ(FIFO) +
INITQ(E.INITQ1) PROCESS(G.PROCESS) REPLACE
DEFINE QLOCAL(E.INITQ1) STGCLASS(DEFAULT) +
SHARE DEFSOPT(SHARED) DESCR('EFLEX APPLICAITON') DEFPSIST(YES) +
MAXDEPTH(20000) REPLACE
DEFINE PROCESS(G.PROCESS) APPLICID('CKBR') +
APPLTYPE(CICS) +
USERDATA('Q=E.BRIDGE.QUEUE,AUTH=IDENTIFY,WAIT=30') REPLACE
Thanks
Srini |
|
Back to top |
|
 |
JT |
Posted: Thu Feb 16, 2006 3:35 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Since I don't know your level of experience with MQ, I'll ask an obvious first question: Is the Trigger Monitor up and running (the IPPROCS value on E.INITQ1 is equal to 1) ? |
|
Back to top |
|
 |
bob_buxton |
Posted: Fri Feb 17, 2006 1:57 am Post subject: |
|
|
 Master
Joined: 23 Aug 2001 Posts: 266 Location: England
|
Don't specify Q=qname in your process definition, when CKBR is started by triggering it gets the quename from the trigger message.
The Q= parameter is used if you want to manually start the monitor from a terminal. _________________ Bob Buxton
Ex-Websphere MQ Development |
|
Back to top |
|
 |
gsrinidhi |
Posted: Fri Feb 17, 2006 6:56 am Post subject: |
|
|
Novice
Joined: 17 Jan 2006 Posts: 17 Location: mi
|
Thanks for the reply.
Removed the queue name from the definition.
But sitll the same suitation.
The message just sits on queue and does not start the CKBR.
If I start CKBR manually, the message gets picked up.
Is there any monitor that needs to be setup in minframe?
Thanks |
|
Back to top |
|
 |
wschutz |
Posted: Fri Feb 17, 2006 7:02 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
JT wrote: |
Since I don't know your level of experience with MQ, I'll ask an obvious first question: Is the Trigger Monitor up and running (the IPPROCS value on E.INITQ1 is equal to 1) ? |
You didn't answer this question..... is CKTI running? _________________ -wayne |
|
Back to top |
|
 |
gsrinidhi |
Posted: Fri Feb 17, 2006 7:04 am Post subject: |
|
|
Novice
Joined: 17 Jan 2006 Posts: 17 Location: mi
|
CKTI seems to be not responsding could be that problem...  |
|
Back to top |
|
 |
bob_buxton |
Posted: Fri Feb 17, 2006 7:53 am Post subject: |
|
|
 Master
Joined: 23 Aug 2001 Posts: 266 Location: England
|
What is the CSQCPARM for your CICS region - does it it include IQ=E.INITQ1?
If you run CKQC transaction you can display and start/top trigger monitors _________________ Bob Buxton
Ex-Websphere MQ Development |
|
Back to top |
|
 |
gsrinidhi |
Posted: Fri Feb 17, 2006 7:53 am Post subject: |
|
|
Novice
Joined: 17 Jan 2006 Posts: 17 Location: mi
|
CKTI seems to be running. The Iprocs shows 1 for the init queue. Message still happily sits on the queue.  |
|
Back to top |
|
 |
gsrinidhi |
Posted: Fri Feb 17, 2006 7:58 am Post subject: |
|
|
Novice
Joined: 17 Jan 2006 Posts: 17 Location: mi
|
I ran manually CKQC on initq, Its still the same. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Feb 17, 2006 8:00 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Have you looked at the CICS job log?
Also, if there is no other MQ activity in the CICS region, you can use CKQC to see if the MQGET count is going up, which might help you figure out if the problem is:
(1) the trigger message isn't begin generated or
(2) it is begin generated but CKTI cant start the bridge....
its been a while, but I think you can also display some CKTI stats from there too..... _________________ -wayne |
|
Back to top |
|
 |
gsrinidhi |
Posted: Fri Feb 17, 2006 8:13 am Post subject: |
|
|
Novice
Joined: 17 Jan 2006 Posts: 17 Location: mi
|
CKQCM4 Display CKTI panel
Read CKTI status information. Then press F12 to cancel.
CKTI 1 to 2 of 2
Task Num Task Status Thread Status Num of APIs Last API
---------- ------------- --------------- ------------ ----------
0000134 Normal Msg Wait 2 MQGET
Initiation Queue Name: E.INITQ1
I think 2 says that there were only two calls......
I have 5 msgs on the queue. CICS log has nothing much. Since the message is still there so no log created probably. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Feb 17, 2006 8:44 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
and put a message E.BRIDGE.QUEUE and see if that count goes up _________________ -wayne |
|
Back to top |
|
 |
JoePanjang |
Posted: Mon Feb 20, 2006 12:26 am Post subject: |
|
|
Voyager
Joined: 10 Jul 2002 Posts: 88 Location: Dengkil MALAYSIA
|
AUTH=IDENTIFY....where the bridge task started with the user id from MQMD. is this a valid user id? Any abend AICO? _________________ Every good deed is charity... |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 20, 2006 5:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Does the user putting the message have authority to run the bridge / CICS transaction targetted by the bridge? _________________ MQ & Broker admin |
|
Back to top |
|
 |
gsrinidhi |
Posted: Mon Feb 20, 2006 1:53 pm Post subject: |
|
|
Novice
Joined: 17 Jan 2006 Posts: 17 Location: mi
|
Thank you very much guys.... I got fixed after the week end qmgr reboot...
I guess am running into another problem...
I am putting a bridge message with 'hello world"
The transaction has following coded in the beginning
EXEC CICS RETRIEVE INTO (UPLOAD_RECORD)
LENGTH(W_MSG_LENGTH);
The received message would written to file.
But I dont see the "hello world" message as such in the file. There is only 4 byte queue manager name in the beginning and reset of them blank and junk character...
I could also see some message in reply queue with
CSQC765E Transaction GKSR not started within monitor wait interval
Feed back code is 410 - MQFB_CICS_APPL_NOT_STARTED
(The interval is set to default 10000 )
Did you guys received any sort of these error...??  |
|
Back to top |
|
 |
|