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 » How to find a datatype.

Post new topic  Reply to topic
 How to find a datatype. « View previous topic :: View next topic » 
Author Message
kiran26
PostPosted: Wed Sep 04, 2002 2:17 pm    Post subject: How to find a datatype. Reply with quote

Acolyte

Joined: 06 Feb 2002
Posts: 69

Hi all,
Is there any way to find out the data type of the value stored in the field reference?
For eg., I want to find whether the value is numeric or character or boolean data type.

Currently I am using CAST function. But looking for a better way to do.

Thanks
vishnu
Back to top
View user's profile Send private message
kiran26
PostPosted: Wed Sep 04, 2002 3:24 pm    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2002
Posts: 69

I am currently using generic xml for the input message .I want to find out the data type of the value stored in the field references ie InputRoot.XML.Message.Field1


I request your suggestion
Thanks
Back to top
View user's profile Send private message
surenat
PostPosted: Thu Sep 05, 2002 8:33 am    Post subject: Reply with quote

Apprentice

Joined: 01 Jan 2002
Posts: 32

Hi ,
I had same situation, I have tried use CAST function, but if you use the CAST function, if it can not cast into desired data type, i think it will throw a runtime exception. Any how I could not find any ESQL function to find data type of field in xml.
Finally I could this by checking every character in the xml filed.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to find a datatype.
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.