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.
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.