[UNIX, Linux, Windows, IBM i]

2152 (0868) (RC2152): MQRC_OBJECT_NAME_ERROR

Explanation

An MQOPEN or MQPUT1 call was issued to open a distribution list (that is, the RecsPresent field in MQOD is greater than zero), but the ObjectName field is neither blank nor the null string.

Completion code

MQCC_FAILED

Programmer response

If it is intended to open a distribution list, set the ObjectName field to blanks or the null string. If it is not intended to open a distribution list, set the RecsPresent field to zero.