|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Null value |
« View previous topic :: View next topic » |
Author |
Message
|
John081603 |
Posted: Fri Aug 16, 2002 3:14 am Post subject: Null value |
|
|
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 |
|
 |
bower5932 |
Posted: Fri Aug 16, 2002 7:18 am Post subject: |
|
|
 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 |
|
 |
John081603 |
Posted: Fri Aug 16, 2002 8:27 am Post subject: More Information |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|