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 » Move statement issue

Post new topic  Reply to topic Goto page Previous  1, 2
 Move statement issue « View previous topic :: View next topic » 
Author Message
deepeshk79
PostPosted: Mon Dec 28, 2009 6:21 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2007
Posts: 45
Location: Los Angeles

Jeff,

As per fjb_saper,
Quote:

As for the syntax I thought you had to include it in () like "Type (XMLNSC.Element) "


Even if we have (), the error is still there.

Also in the link provided by Vitor, it says we can use XMLNSC.Element to point to elements within a Parent tag. Only XMLNSC.Field has a limitation as it can point only to CData or Text within an element. So I tried XMLNSC.Element but its giving me a deployment time error.

Thanks,
Deepesh
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Mon Dec 28, 2009 6:21 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

deepeshk79 wrote:
Any thoughts?


I think you should try reading things. Either the product documentation or my post earlier in this thread.

There's also some good advice in the New Posters section that might help you look less foolish in your future posts.

More foolish would of course be tricky.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
deepeshk79
PostPosted: Mon Dec 28, 2009 6:32 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2007
Posts: 45
Location: Los Angeles

Vitor I did read all the above posts in this thread and as per the link that you gave, it says we can use XMLNSC.Element to point to elements within a Parent tag. Only XMLNSC.Field has a limitation as it can point only to CData or Text within an element.

My question is when XMLNSC.Element is supported then why it does it fail here... fjb_saper said using () to correct the syntax... but it didnt work...!!!
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Mon Dec 28, 2009 6:45 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

deepeshk79 wrote:
My question is when XMLNSC.Element is supported then why it does it fail here...


For the reasons given in the link I posted. Have another read.

deepeshk79 wrote:
fjb_saper said using () to correct the syntax... but it didnt work...!!!


I'm not surprised.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Tue Dec 29, 2009 1:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

Vitor wrote:
deepeshk79 wrote:
My question is when XMLNSC.Element is supported then why it does it fail here...

For the reasons given in the link I posted. Have another read.

To be fair, the posted link doesn't actually explain why the MOVE statement fails with TYPE XMLNSC.Element.

However, the links for the MOVE statement and the FIELDTYPE function explain it better.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 29, 2009 4:15 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

rekarm01 wrote:

To be fair, the posted link doesn't actually explain why the MOVE statement fails with TYPE XMLNSC.Element.

However, the links for the MOVE statement and the FIELDTYPE function explain it better.


I am corrected. When using the MOVE statement you cannot use XMLNSC.Element, you will have to differentiate between XMLNSC.Folder and XMLNSC.Field or even the different fieldtypes at the end of the tree branch...

I would have hoped that it allowed you something a little bit more generic. Apparently the setting of the XMLNSC.Element type is only allowed on the output. So I don't know/(haven't tried) if this (XMLNSC.Element) would work on a copied input tree (like in Environment or OutputRoot.XMLNSC...

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
deepeshk79
PostPosted: Thu Jan 07, 2010 9:34 am    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2007
Posts: 45
Location: Los Angeles

Thanks rekarm01 and fjb_saper. The links that you provided has the details, the earlier link didnt talk about the MOVE statement failing with TYPE XMLNSC.Element. I think Vitor has a habit of reading too much than whats there in it
Back to top
View user's profile Send private message AIM Address
kimbert
PostPosted: Fri Jan 08, 2010 1:56 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Apparently the setting of the XMLNSC.Element type is only allowed on the output
XMLNSC.Element is a 'wildcard' field type. It can be used when querying *any* message tree ( so works on InputRoot, OutputRoot, Environment, LocalEnvironment ). It cannot be used to set the field type, because the SET statement would be ambiguous.

I'm not sure why it doesn't work for a MOVE statement - that sounds like something that ought to be fixed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Move statement issue
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.