Thread: URGENTLY NEED HELP: MQGET ended with reason code 2005

  1. #1
    Registered User
    Join Date
    Apr 2017
    Posts
    51

    URGENTLY NEED HELP: MQGET ended with reason code 2005

    I made a C program, which connect to MQ, open it MQGET message " I am testing program", which I can see in MQ. However, when I run the program, I am getting message :
    MQGET ended with reason code 2005

    MQRC_BUFFER_LENGTH_ERROR (2005, X'7D5') Buffer length parameter not valid
    I declare it as char TempBuf[65536];.

    Please help to solve this problem

    Thanks,
    Last edited by digioleg54; 06-15-2017 at 01:47 PM.

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Learn to use Google
    IBM Knowledge Center

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #3
    Registered User
    Join Date
    Apr 2017
    Posts
    51
    Thank you, but the problem was in different place. Then link, you show I already read. There are very many options in MQ, I have to just correctly use them

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code is not executing for some reason
    By jjwooyoung in forum C Programming
    Replies: 1
    Last Post: 02-05-2017, 07:04 PM
  2. Replies: 5
    Last Post: 12-20-2015, 03:07 AM
  3. please help [decelaration ended incorrectly]
    By praat in forum C++ Programming
    Replies: 4
    Last Post: 01-10-2013, 02:56 PM
  4. while non ended
    By nick048 in forum C Programming
    Replies: 1
    Last Post: 04-06-2007, 02:06 AM
  5. VS 2005 'Stale Code'
    By cboard_member in forum Tech Board
    Replies: 1
    Last Post: 03-06-2006, 09:11 AM

Tags for this Thread