A fix is available
APAR status
Closed as program error.
Error description
CSQ5038I is generated erroneously during a timing window between when the Db2 monitor task in CSQ5MONR checks the state of a Db2 server task and the server task is processing a request.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM MQ for z/OS Version 9 * * Release 2 Modification 0 and * * Release 3 Modification 0. * **************************************************************** * PROBLEM DESCRIPTION: A CSQ5038I message, reporting a DB2 * * request hanging for more than 60 * * seconds, may erroneously be issued with * * the time frame in the message being * * shorter than 60 seconds. * **************************************************************** The code handling the DB2 request hanging checks saves a local copy of the current time before getting the request start time from the DB2 task. If the request start time is updated after the current time is recorded but before the request start time is saved locally the function calculating the time difference interprets the negative time difference as a large positive difference resulting in a CSQ5038I message being issued erroneously.
Problem conclusion
The code has been changed to save a copy of the request start time before the current time is recorded to eliminate the possibility of the current time being lower than the request start time.
Temporary fix
Comments
APAR Information
APAR number
PH57199
Reported component name
IBM MQ Z/OS V9
Reported component ID
5655MQ900
Reported release
300
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-09-27
Closed date
2025-08-01
Last modified date
2025-10-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI95140 UO04379
Modules/Macros
CSQ5MONR
Fix information
Fixed component name
IBM MQ Z/OS V9
Fixed component ID
5655MQ900
Applicable component levels
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":"300","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Document Information
Modified date:
02 October 2025