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 » Syntax Error on Toolkit versions 6.0.2

Post new topic  Reply to topic
 Syntax Error on Toolkit versions 6.0.2 « View previous topic :: View next topic » 
Author Message
martc
PostPosted: Mon Jul 09, 2007 11:29 am    Post subject: Syntax Error on Toolkit versions 6.0.2 Reply with quote

Apprentice

Joined: 23 Mar 2005
Posts: 39

Hi, I have two installations of the v6 toolkit. One installation I had when 6.0.2 was released and another I just upgraded today 7/9/2007. Both versions in Help->About are:

Version: 6.0.2
Build id: 20061201_1308

However after examining specifics of the versions in 'Feature Details' I see differences in many places specifically in 'Message Broker ESQL Code Generation',''Message Broker ESQL Debugger',''Message Broker ESQL Tooling' and many others. in 'Message Broker ESQL Code Generation' for example, one version is 6.0.2.001 and in the other 6.0.2.005.

Here is my problem, I am now getting a syntax error for this line of code in the newer version.

DECLARE SOAPInfoRefPtr REFERENCE TO OutputRoot.XMLNS.soapenv:Envelope.soapenv:Body.{RespDocNamespace}:{RespDocName}.{FTMFInfoNamespace}:"Information";





This is not throwing an error in the older version and works perfectly. To be clear this is exactly the same source. Additional Info: The value in the curley brakets are declared above as:

DECLARE RespDocName CHAR;
DECLARE RespDocNamespace CHAR;
DECLARE FTMFRespDocName CHAR;
DECLARE FTMFInfoNamespace CHAR;


ANybody seen this before or any solutions?
Back to top
View user's profile Send private message
wbi_telecom
PostPosted: Mon Jul 09, 2007 11:40 am    Post subject: Reply with quote

Disciple

Joined: 15 Feb 2006
Posts: 188
Location: Harrisburg, PA

Did you "clean" or re build the project after migrating the code to the newer version ?

Cheers,
Back to top
View user's profile Send private message
martc
PostPosted: Mon Jul 09, 2007 1:30 pm    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2005
Posts: 39

Yes, many times using different options, Clean & Rebuild, Clean only and build separately. Did not help.
Back to top
View user's profile Send private message
wbi_telecom
PostPosted: Mon Jul 09, 2007 4:58 pm    Post subject: Reply with quote

Disciple

Joined: 15 Feb 2006
Posts: 188
Location: Harrisburg, PA

Are you sure that the variable declaration and the reference declaration are present in the same module?

Cheers,
Back to top
View user's profile Send private message
martc
PostPosted: Tue Jul 10, 2007 9:31 am    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2005
Posts: 39

Hi, yes they are on the same MAIN module.

Here is an interesting find, after rolling back Interim Fix 007 down to the base GA version 6.0.2 the issue went away. Why this is happening I can only assume is a BUG that was introduced between the base version and 007. The issue once again is that an esql file (exact same source) that once compiled nicely prior to Interim Fix 007 now throws a syntax error at this line:

DECLARE SOAPInfoRefPtr REFERENCE TO OutputRoot.XMLNS.soapenv:Envelope.soapenv:Body.{RespDocNamespace}:{RespDocName}.{FTMFInfoNamespace}:"Information";

The error apparently is in the colon between the two dynamic namespace references {RespDocNamespace}:{RespDocName}

At this point I am satisfied that it is now working for me but it would be great for IBM to fix this if indeed this is a BUG.

Thanks
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 » Syntax Error on Toolkit versions 6.0.2
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.