|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ESQL namespace declare |
« View previous topic :: View next topic » |
Author |
Message
|
matuwe |
Posted: Sun Sep 05, 2010 11:34 pm Post subject: ESQL namespace declare |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Please help. I am using Broker toolkit 7 001 and other developers still use toolkit 7000 and I have added line of code
Code: |
DECLARE fin NAMESPACE = Environment.currentTransformation.messageFormat;
|
which only complies fine on my pc, Other developers get a million compile errors
But if I hard code the name space like so
Code: |
DECLARE fin NAMESPACE 'http://webservice.ci.com';
|
then it works. But the problem is I need to get the name space from the database and dynamically update it. Can this be because of the different toolkit versions? |
|
Back to top |
|
 |
mgk |
Posted: Mon Sep 06, 2010 1:50 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Unless you have a typo this is wrong:
Code: |
DECLARE fin NAMESPACE = Environment.currentTransformation.messageFormat; |
It should be:
Code: |
DECLARE fin NAMESPACE Environment.currentTransformation.messageFormat; |
(No equals).
Regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
matuwe |
Posted: Mon Sep 06, 2010 2:38 am Post subject: |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Oww I am sorry, yes it is just a typo. I had the line without the = sign. |
|
Back to top |
|
 |
mgk |
Posted: Mon Sep 06, 2010 3:19 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Then it looks like a toolkit difference. The code looks valid assuming Environment is in scope where 'fin' is declared, so I would raise a PMR to see if there is a fix you can apply to the 7.0.0.0 toolkits... _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
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
|
|
|
|