Troubleshooting
Problem
Symptom
- 2085 - MQRC_UNKNOWN_OBJECT_NAME
After a cold start, this error usually means queue definitions are missing, for example:
CSQX036E CSQXRESP Unable to open AUTHINFO(SYSTEM.DEFAULT.AUTHINFO.IDPWOS),
MQCC=2 MQRC=2085 (MQRC_UNKNOWN_OBJECT_NAME)
CSQM128E CSQMCMIQ MQPUT FAILED FOR QUEUE SYSTEM.CHANNEL.INITQ,
MQRC=2085 (MQRC_UNKNOWN_OBJECT_NAME)
- 2035 - MQRC_NOT_AUTHORIZED
After a cold start, this error is often due to the default values for the CONNAUTH and CHLAUTH parameters
Environment
If the queue manager has terminated abnormally you might not be able to restart it. This could be because your page sets or logs have been lost, truncated, or corrupted. If this has happened, you might have to reinitialize the queue manager (perform a cold start).
Attention
Only perform a cold start if you cannot restart the queue manager any other way. Performing a cold start enables you to recover your queue manager and your object definitions; you will not be able to recover your message data. Check that none of the other restart scenarios described in this topic work for you before you do this.
Resolving The Problem
Tips for backup and recovery says:
- Backing up your object definitions
Create backup copies of your object definitions. To do this, use the MAKEDEF feature of the COMMAND function of the utility program (described in Using the COMMAND function of CSQUTIL).
You should do this whenever you take backup copies of your queue manager data sets, and keep the most current version.
-
Sample JCL for using the MAKEDEF option of the COMMAND function provides a list of the object definitions you can back up and the order in which to do them. You can then use the output of the MAKEDEF command in the CSQINP2 concatenation in the MSTR start-up JCL when you start the redefined queue manager.
Be sure your MAKEDEF JCL includes DISPLAY QMGR. Otherwise, the default QMGR parameters might not match your usual settings, for example CONNAUTH, CHLAUTH, DEADQ, CERTLABL, PSMODE, and other parameters. Some parameters such as QMID cannot be manually set.
If you are missing the output from the DISPLAY QMGR command, compare the current QMGR parameters to the parameters in a job log from the previously working queue manager. CSQ4INYG, a sample member in data set SCSQPROC, can be copied and updated to set the parameters by including the member in the CSQINP2 concatenation. Or, if the queue manager is already active, you can issue ALTER QMGR commands through the console. If the SYSTEM.COMMAND.INPUT queue is defined, you can issue commands by using CSQUTIL or other administrative utilities, which also require QMODEL definitions for command reply messages.
If you do not have MAKEDEF output and are able to create SDEFS output from PSID(0), the QMGR attributes are not saved. You need to look at the QMGR parameters from a prior run of the queue manager and manually alter them as described for the MAKEDEF scenario where DISPLAY QMGR output was not available.
-
A few other steps that might be needed:
- For a newly defined queue manager, the QMGR CONNAUTH parameter defaults to SYSTEM.DEFAULT.AUTHINFO.IDPWOS. If you need to set a different value, then set it by using the IBM MQ command:
ALTER QMGR CONNAUTH(' authinfo-name')
Or
ALTER QMGR CONNAUTH(' ')Followed by:
REFRESH SECURITY TYPE(CONNAUTH)
Setting CONNAUTH to a blank value disables that valuable feature, so be sure that is what you want to do.
If the commands are issued from the console, prefix them with "/cpf" without the quotes, where cpf is the command prefix for the queue manager.
- The newly defined queue manager has a new QMID, which is a factor if the queue manager is part of a cluster. The original (now duplicate) QMID needs to be removed from the cluster after a cold start is done. Use the RESET CLUSTER command from a full repository queue manager:
RESET CLUSTER(*) QMID(old-qmid) ACTION(FORCEREMOVE) QUEUES(YES)
- If messages are lost from SYSTEM.CHANNEL.SYNCQ, channel sequence numbers become mismatched, and CSQX526E (z/OS) or AMQ9526E (multi-platform) occurs. Use the following command for the sender channel to reset the sequence number:
RESET CHANNEL(channel-name)
-
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
30 April 2025
UID
ibm16855691