|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
dmpmqcfg and NAMELIST NAMES case-sensitivity |
« View previous topic :: View next topic » |
Author |
Message
|
hal |
Posted: Wed Jan 09, 2013 3:32 pm Post subject: dmpmqcfg and NAMELIST NAMES case-sensitivity |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
The dmpmqcfg command does not put single quotes within the NAMELIST NAMES attribute. MQSC commands, including runmqsc, require single quotes to maintain the character case of queue manager objects. This dmpmqcfg behavior appears in multiple distributed WebSphere MQ 7.1 and 7.5 platforms, including LINUX, Solaris and Windows.
From the Information Center:
Quote: |
Case-sensitivity in MQSC commands, including their attributes, can be written in uppercase or lowercase. Object names in MQSC commands are folded to uppercase(that is, QUEUE and queue are not differentiated), unless the names are enclosed within single quotation marks. |
(I do not recommend using mixed-case queue manager object names. The ones within my infrastructure were not created by me, but I must live with them now.)
Here is an example NAMELIST section from the output of
Code: |
dmpmqcfg -x all -a -o mqsc -m $QMGR > dmpmqcfg.config |
DEFINE NAMELIST('MIRRORQ') +
* NAMECOUNT(3)
NAMES(QueueName +
,AUD.QueueName +
,QMGR)
DESCR('NAMELIST MIRRORQ source queue, audit queue, qmgr triplets') +
* ALTDATE(2013-01-09) +
* ALTTIME(16.55.16) +
REPLACE There are no single quotes around individual NAMELIST NAMES elements, so
Code: |
runmqsc $QMGR <dmpmqcfg.config>dmpmqcfg.output |
causes all the NAMELIST NAMES lower case characters to change to upper case (QueueName becomes QUEUENAME, etc.)
The workaround is to manually edit the dmpmqcfg output and add my own quotes around the NAMELIST components.
The MS65 category 4 SupportPac (saveqmgr) adds single quotes within the NAMELIST NAMES attributes. A WebSphere MQ 7.0 configuration containing a similar NAMELIST section saved by
Code: |
saveqmgr -q -o -i -Z -m $QMGR -F saveqmgr.config |
results in
DEFINE NAMELIST ('MIRRORQ') +
REPLACE +
DESCR('NAMELIST source queue, audit queue, queue manager trip-
lets') +
NAMES('QueueName', +
'AUD.QueueName', +
'QMGR') which preserves mixed-case object names in the NAMELIST NAMES attribute after the queue manager configuration
is restored via runmqsc.
There are several fixes that I can think of, including:
• Eliminating the MQSC commands requirement that object names must be enclosed within single quotation marks to maintain character case-sensitivity.
• Modifying dmpmqcfg to add single quotes within the NAMELIST NAMES attribute.
I have raised a PMR with IBM.
Hal |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jan 09, 2013 4:06 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
minor note: saveqmgr is a category 2 supportPac, not category 4. |
|
Back to top |
|
 |
hal |
Posted: Thu Jan 10, 2013 7:16 am Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
Yup. I meant SupportPac MS03, not MS65. MS03 is WebSphere MQ - Save Queue Manager object definitions using PCFs (saveqmgr) and MS65 from 2001 is MQSeries - Configuration back-up script.
Hal |
|
Back to top |
|
 |
hal |
Posted: Fri Jan 11, 2013 12:01 pm Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
IBM support put an interim fix on their public ftp site within 48 hours! The patched dmpmqcfg executable and amqu library files that I downloaded and pushed out add single quotes around NAMELIST NAMES.
I don't know if the APARs/PTFs will be bundled into WebSphere MQ 7.1.0.3 (due second quarter 2013) or 7.5.0.1 (due first quarter 2013.)
Hal |
|
Back to top |
|
 |
hal |
Posted: Mon Apr 08, 2013 6:29 am Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
IBM just made the Windows fix, 7.5.0.1-WS-MQ-Windows-000D8, available at their external ftp site. The fix includes an iFix for APAR IC89447.
APAR IC89447 details are at http://www-01.ibm.com/support/docview.wss?uid=swg1IC89447
Quote: |
IC89447: DMPMQCFG DOES NOT INCLUDE MIXED CASE NAMES WITHIN SINGLE QUOTES IN THE NAMES LIST OF THE OUTPUT OF NAMELIST |
Hal |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|