APAR status
Closed as program error.
Error description
When dmpmqcfg is run and it fails you get no error message to standard error and the return code from the program is zero (just as if it was successful). For example When you run dmpmqcfg and the SYSTEM.ADMIN.COMMAND.QUEUE is PUT(DISABLED), you get no error message to standard error and the return code from the program is zero.
Local fix
Problem summary
**************************************************************** USERS AFFECTED: Users using dmpmqcfg Platforms affected: MultiPlatform **************************************************************** PROBLEM DESCRIPTION: This problem occurred because the return code was not set correctly when the program encountered an error.
Problem conclusion
dmpmqcfg has been modified to return an error code in case of any failure and also to write a footer when dmpmqcfg is successful. Example Footer: **************************************************************** *************** * Script ended on 2016-01-05 at 05.10.09 * Number of Inquiry commands issued: 14 * Number of Inquiry commands completed: 14 * Number of Inquiry responses processed: 273 * QueueManager count: 1 * Queue count: 55 * NameList count: 3 * Process count: 1 * Channel count: 10 * AuthInfo count: 4 * Listener count: 1 * Service count: 1 * CommInfo count: 1 * Topic count: 5 * Subscription count: 1 * ChlAuthRec count: 3 * Policy count: 1 * AuthRec count: 186 * Number of objects/records: 273 **************************************************************** *************** --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v7.1 7.1.0.8 v7.5 7.5.0.7 v8.0 8.0.0.5 The latest available maintenance can be obtained from 'WebSphere MQ Recommended Fixes' http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037 If the maintenance level is not yet available information on its planned availability can be found in 'WebSphere MQ Planned Maintenance Release Dates' http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309 ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IV78947
Reported component name
WMQ AIX V7
Reported component ID
5724H7221
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-11-16
Closed date
2016-03-23
Last modified date
2016-05-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WMQ AIX V7
Fixed component ID
5724H7221
Applicable component levels
R710 PSY
UP
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1"}]
Document Information
Modified date:
09 March 2021