|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Syntax Error on Toolkit versions 6.0.2 |
« View previous topic :: View next topic » |
Author |
Message
|
martc |
Posted: Mon Jul 09, 2007 11:29 am Post subject: Syntax Error on Toolkit versions 6.0.2 |
|
|
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 |
|
 |
wbi_telecom |
Posted: Mon Jul 09, 2007 11:40 am Post subject: |
|
|
 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 |
|
 |
martc |
Posted: Mon Jul 09, 2007 1:30 pm Post subject: |
|
|
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 |
|
 |
wbi_telecom |
Posted: Mon Jul 09, 2007 4:58 pm Post subject: |
|
|
 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 |
|
 |
martc |
Posted: Tue Jul 10, 2007 9:31 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|