|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to mess up the ESQL Editor |
« View previous topic :: View next topic » |
Author |
Message
|
smdavies99 |
Posted: Tue Jun 07, 2011 12:15 am Post subject: How to mess up the ESQL Editor |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Toolkit 7.0.0.2 on Windows.
Open an ESQL file
Open a text editor and create some text like
Code: |
CREATE PROCEDURE InsertEventPayload (
IN P_MSG_ID CHAR, -- 01
IN P_SERVICE_NAME CHAR, -- 02
IN P_EVENT_TIME CHAR, -- 03
IN P_BROKER_NAME CHAR, -- 04
IN P_EXECGROUP_NAME CHAR, -- 05
IN P_PAYLOAD_SIZE DECIMAL, -06
NUL -- 07
)
LANGUAGE DATABASE
EXTERNAL NAME "PKG_PERFORMANCE.InsertEventPayload";
|
If you look closely, you can see that I have misstyped NULL as NUL AND missed off a '-' in a comment.
Now paste the text from the text editor into the ESQL Editor and hit ctrl/s.
Enjoy.
 _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Tue Jun 07, 2011 1:37 am Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
FWIW, nothing untoward happens on 7.0.0. Just a couple of red crosses. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Jun 07, 2011 1:44 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Thanks.
I'm on
Code: |
Build id: 7.0.0.2-IFix-20110310_1127
|
I tried it three times. The editor barfs with a null pointer exception. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 07, 2011 2:13 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Well.
Check for newer iFixes of Toolkit and then open a pmr? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|