Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQRC_MD_ERROR (2026) : Solution????

Status
Not open for further replies.

siba123

Programmer
Oct 23, 2002
1
IN
I have placed a group of logical messages in MQueue and while getting these from this queue, i am getting MQRC_MD_ERROR error.

Description for MQRC_MD_ERROR :
(2026, X'7EA') Message descriptor not valid.
MQMD structure is not valid. Either the StrucId mnemonic eye-catcher is not valid, or the Version is not recognized.

Action taken by me:
memcpy(a_md.StrucId,MQGMO_STRUC_ID,sizeof(a_md.StrucId));
a_md.Version=MQGMO_VERSION_2;

Still i am facing same problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top