ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL namespace declare

Post new topic  Reply to topic
 ESQL namespace declare « View previous topic :: View next topic » 
Author Message
matuwe
PostPosted: Sun Sep 05, 2010 11:34 pm    Post subject: ESQL namespace declare Reply with quote

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
View user's profile Send private message
mgk
PostPosted: Mon Sep 06, 2010 1:50 am    Post subject: Reply with quote

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
View user's profile Send private message
matuwe
PostPosted: Mon Sep 06, 2010 2:38 am    Post subject: Reply with quote

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
View user's profile Send private message
mgk
PostPosted: Mon Sep 06, 2010 3:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL namespace declare
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.