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 » General Discussion » Null value

Post new topic  Reply to topic
 Null value « View previous topic :: View next topic » 
Author Message
John081603
PostPosted: Fri Aug 16, 2002 3:14 am    Post subject: Null value Reply with quote

Newbie

Joined: 16 Aug 2002
Posts: 2

I am using MQ Series and Powerbuilder and I get an error message on a null object when my Wait Interval expires and no messages has come to the queue. Here is the line of code where it errors out

Get_obj.Get(get_obj, get_opt_obj)

How can I determine if a message exists or not?

Thanks in advance!
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Aug 16, 2002 7:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I don't know anything about PowerBuilder, but with the C, C++ APIs, you would check for return code 2033 (no message available). Do you not get back a return code?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
John081603
PostPosted: Fri Aug 16, 2002 8:27 am    Post subject: More Information Reply with quote

Newbie

Joined: 16 Aug 2002
Posts: 2

Actually I made a mistake, I am not getting an error becasue of a null value, the error I am getting is for an error calling an external object function. I do not get this error when a message is on the queue, just when there sin't a message. I am doing a wait before trying the get. Any suggestions?
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 » General Discussion » Null value
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.