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 » check if MQIIH exists

Post new topic  Reply to topic
 check if MQIIH exists « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Thu Sep 06, 2007 7:01 am    Post subject: check if MQIIH exists Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I need to check if MQIIH exist in my message. I used
IF InputRoot.MQIIH is NOT NULL THEN
----- ELSE --- END IF;
But this always result in MQIIH is not there even if it is.
Is this the right way to do it ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 06, 2007 7:05 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can check to see if the first child of MQIIH is null.

You can check to see what the cardinality of the children of MQIIH is.

You can check to see if the list of children of MQInput root contains a field called MQIIH.

You can check to see if the field name of InputRoot.MQIIH is null.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
WBI_user
PostPosted: Thu Sep 06, 2007 7:49 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Thanks Jefflowery, Fieldname works. I was just wondering why checking InputRoot.MQIIH does not work. MQIIH is an addressable field under Root as described under the dtructure of the message tree. This is more for my learning purpose.
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 » check if MQIIH exists
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.