Posted: Fri May 05, 2006 5:12 am Post subject: .NET MQSeries 2080 error
Novice
Joined: 24 Apr 2006 Posts: 21
I am converting some old VB 6.0 code that uses the 5.3 client. There is some convoluted code in there to handle a 2080 error on a MQGET where the buffer is resized. Will the following line of code get me around that problem using the .NET MQ library and the 6.0 client?
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
If the length of the actual data exceeds DataLength, then you will still get the 2080 error. You need to either reallocate the buffer to the proper size, or do the get with the option turned on to truncate the message at the allotted buffer size. _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
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