# Constantes predefinidas

For each WebSphere MQ Constant there is a mqseries counterpart.

For definitions and usage see the WebSphere MQ Application Programming Guide and WebSphere MQ Application Programming Reference red books.

The name of the mqseries counterpart is made by appending the WebSphere MQ constant with MQSERIES_, for example the CompletionCode constants are:

mqseries constants
PHP Constant | MQ Constant
--- | ---
`MQSERIES_MQCC_OK` | MQCC_OK
`MQSERIES_MQCC_WARNING` | MQCC_WARNING
`MQSERIES_MQCC_FAILED` | MQCC_FAILED
`MQSERIES_MQCC_UNKNOWN` | MQCC_UNKNOWN