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 check datatype of parameter

Post new topic  Reply to topic
 How to check datatype of parameter « View previous topic :: View next topic » 
Author Message
saikrishna
PostPosted: Mon Aug 03, 2015 1:23 am    Post subject: How to check datatype of parameter Reply with quote

Novice

Joined: 29 Jul 2015
Posts: 21

Hi All
May I know how to validate datatype of parameter(URL)
I will recieve URL parameter in MQRFH2 Header. I want to validate the datatype.

Ex: InputRoot.MQRFH2.parameter.name
here name is parameter and of type character
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 03, 2015 4:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

what does it mean "the data type"?

You want to validate that it is a character? Make sure that it only has valid characters.

Or you want to validate that it contains a properly formed URL?
Back to top
View user's profile Send private message
saikrishna
PostPosted: Mon Aug 03, 2015 9:07 pm    Post subject: Reply with quote

Novice

Joined: 29 Jul 2015
Posts: 21

Hi
I mean to say like I will get some set of parameters
they are of different type
for ex:
Name: Character
age: Integer
Married: Boolean

I jus wanto check whether the data/value comming in parameter in of particular datatype or not.
ie., as you said if character means it shud contain only char type
if boolean mean it shud contain only true or false

In ESQL do we have any predifined funcions which will serve my requirement. Or do I need to implicity check based on data?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 04, 2015 4:23 am    Post subject: Reply with quote

Grand High Poobah

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

Check for validation (form and content)
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
saikrishna
PostPosted: Tue Aug 04, 2015 4:55 am    Post subject: Reply with quote

Novice

Joined: 29 Jul 2015
Posts: 21

Yeah got it.
Thought there might be any predifined functions dats y posted. acheived by validating entire content
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 » How to check datatype of parameter
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.