Author |
Message
|
Djeyli |
Posted: Sun Jul 14, 2002 11:49 pm Post subject: Nested if .. else statements |
|
|
 Apprentice
Joined: 03 Apr 2002 Posts: 28 Location: New Zealand
|
Hi all
Is there a limit to the number of if ..else statements that WMQI can handle ? I am using a complex sequence which goes 4 levels deep. This seems to confuse the broker no end ......
Regards
J |
|
Back to top |
|
 |
kwelch |
Posted: Mon Jul 15, 2002 4:38 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi,
Could you post the ESQL that you are using? When you say confuse the broker to no end, do you get any errors in the event viewer? Does nothing happen? Do you loop? What exactly is happening?
Karen |
|
Back to top |
|
 |
Djeyli |
Posted: Mon Jul 15, 2002 11:36 pm Post subject: The problems |
|
|
 Apprentice
Joined: 03 Apr 2002 Posts: 28 Location: New Zealand
|
Hi there
When putting a message on the input queue, it vanishes ! There is no mention in the event viewer, trace files, or usertrace. It is just gone !
When I use a message without the statements in Integrator, it goes thru perfectly. It is really bizarre !!
I have had the esql checked by someone here who agrees with me that it is correct. It is also rather too long to post all here !
Regards
J |
|
Back to top |
|
 |
Coz |
Posted: Tue Jul 16, 2002 3:25 am Post subject: |
|
|
 Apprentice
Joined: 20 Feb 2002 Posts: 44 Location: Basel CH
|
if not already done, try attaching an Exception message builder and an output node to the catch node of the input. As to the message, it is probably on the DEAD LETTER queue, unless of course you don't have one defined then it will have been vapourised. |
|
Back to top |
|
 |
kwelch |
Posted: Tue Jul 16, 2002 4:34 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi,
What version of WMQI are you using? I have had instances where this happens to me. The message doesn't go to the dead letter queue and no messages appear in the event viewer. Usually in these cases something is wrong with my ESQL code and it's not getting flagged as an error. Have you tried putting a trace on the message flow to see exactly what's happening. In these cases I usually can find the problem.
Karen |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 16, 2002 7:15 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
In addition to what is mentioned above, you may loose a message if you don't have terminals connected. In this case, no error will be logged into Event viwer.
For some reason if your messageflow is looping, it will not pickup next message on the input queue. Could you post your ESQL code here? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|