A fix is available
APAR status
Closed as program error.
Error description
The S0C4 abend below occurred when dereferencing an MHND pointer in CSQMSET as part of an MQSET api call. The pointer value was 0x7FFFF000 which resulted in the abend when dereferenced. The MHND is obtained from the input HOBJ by indexing into the handle pointer vector table (MHPV). There wasn't an MHPV allocated to the CHIN thread because it had never done an MQOPEN and the input HOBJ was thus MQHO_UNUSABLE_HOBJ. This resulted in a bad address getting picked up for the MHND and the return code getting set to MQRC_HOBJ_ERROR. Before returning to the caller, if TRACE(STATS) CLASS(5) is enabled, then CSQMSET tries to increment queue stats. This abends S0C4 due to the bad MHND address. It follows that a workaround for this problem is to disable TRACE(STATS) CLASS(5). CSQ1,ABN=0C4-00000011,U=SETUP,C=MQ900.940.MMC -CSQMSET ,M=CSQGFRCV,LOC=CSQMLPLM.CSQMSET +00000F70
Local fix
Disable TRACE(STATS) CLASS(5)
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM MQ for z/OS Version 9 * * Release 4 Modification 0. * **************************************************************** * PROBLEM DESCRIPTION: When issuing an MQSET in bindings mode * * with class 5 trace enabled and no * * object handle, an 0C4-11 abend occurs. * **************************************************************** The code responsible for tracing statistics about objects in an MQSET call doesn't check whether an object handle is available, resulting in an abend when the code tries to use the object handle.
Problem conclusion
The code has been changed to check whether a handle is available for an object before trying to trace statistics about the object.
Temporary fix
Comments
APAR Information
APAR number
PH63707
Reported component name
IBM MQ Z/OS V9
Reported component ID
5655MQ900
Reported release
400
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-10-14
Closed date
2025-06-12
Last modified date
2025-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UO03610
Modules/Macros
CSQMSET
Fix information
Fixed component name
IBM MQ Z/OS V9
Fixed component ID
5655MQ900
Applicable component levels
R400 PSY UO03610
UP25/07/12 P F507
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"400","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Document Information
Modified date:
02 August 2025