Discussion:
DMPMQCFG
Hatcher Jeter
2013-09-11 11:28:57 UTC
Permalink
I have a question, I used the dmpmqcfg to get the mqsc from an existing
system so I could port definitions to a new system. Oddly enough some of
the mqsc FAIL due to syntax and I need to ask What am I missing here.
Googling returns no real help so I'm hoping that someone out there can
share some knowledge

Here is one on the commands that fail and the output

DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE
DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE 2 : DEFINE SUB('ShipConfirm_Error_Subscription') +
: TOPICSTR('') +
: TOPICOBJ('ShipConfirm_Topic') +
: DEST('ShipConfirm_Error_Q') +
: DESTQMGR('WMS') +
: SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND
(WMSTarget <> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
:
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
: DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
: SUBUSER('mqm') +

: REPLACE
AMQ8405: Syntax error detected at or near end of command segment below:-
DEFINE SUB('ShipConfirm_Error_Subscription') TOPICSTR('')
TOPICOBJ('ShipConfirm_Topic') DEST('ShipConfirm_Error_Q') DESTQMGR('WMS')
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget <>
'SHIP

AMQ8427: Valid syntax for the MQSC command:


DEFINE SUB( subscription_name )
TOPICSTR( string )
| TOPICOBJ( obj_name ) [ DEST( obj_name ) ]
[ DESTQMGR( generic_Q_Mgr_name ) ] [ DESTCORL( string ) ]
[ EXPIRY( UNLIMITED | integer ) ]
[ PUBPRTY( ASPUB | ASQDEF | integer ) ]
[ PUBACCT( string ) ] [ PUBAPPID( string ) ]
[ SELECTOR( string ) ] [ USERDATA( string ) ]
[ DESTCLAS( MANAGED | PROVIDED ) ]
[ PSPROP( NONE | COMPAT | RFH2 | MSGPROP ) ]
[ REQONLY( YES | NO ) ] [ SUBLEVEL( integer ) ]
[ SUBUSER( string ) ] [ SUBSCOPE( ALL | QMGR ) ]
[ VARUSER( ANY | FIXED ) ] [ WSCHEMA( CHAR | TOPIC ) ]
[ LIKE( subscription_name ) ] [ REPLACE | NOREPLACE ]

It appears to be complaining about the user of the dash


Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.



To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Jefferson Lowrey
2013-09-11 11:38:45 UTC
Permalink
Well, the fun thing about dmpmqcfg is that you can open a PMR against it.

If you think it's the - that's causing the problem, you can try \- ing it.


I'm a little more inclined to think it's a quoting problem and not a -
problem, but that's just a guess. I'd think it would be complaining
about a slightly place in the MQSC if it was, though.

Thank you,

Jeff Lowrey



From: Hatcher Jeter <Hatcher.Jeter-***@public.gmane.org>
To: MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org,
Date: 09/11/2013 07:29 AM
Subject: [MQSERIES] DMPMQCFG
Sent by: MQSeries List <MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org>



I have a question, I used the dmpmqcfg to get the mqsc from an existing
system so I could port definitions to a new system. Oddly enough some of
the mqsc FAIL due to syntax and I need to ask What am I missing here.
Googling returns no real help so I'm hoping that someone out there can
share some knowledge

Here is one on the commands that fail and the output

DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE
DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE 2 : DEFINE SUB('ShipConfirm_Error_Subscription') +
: TOPICSTR('') +
: TOPICOBJ('ShipConfirm_Topic') +
: DEST('ShipConfirm_Error_Q') +
: DESTQMGR('WMS') +
: SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND
(WMSTarget <> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
:
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
: DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
: SUBUSER('mqm') +

: REPLACE
AMQ8405: Syntax error detected at or near end of command segment below:-
DEFINE SUB('ShipConfirm_Error_Subscription') TOPICSTR('')
TOPICOBJ('ShipConfirm_Topic') DEST('ShipConfirm_Error_Q') DESTQMGR('WMS')
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget <>
'SHIP

AMQ8427: Valid syntax for the MQSC command:


DEFINE SUB( subscription_name )
TOPICSTR( string )
| TOPICOBJ( obj_name ) [ DEST( obj_name ) ]
[ DESTQMGR( generic_Q_Mgr_name ) ] [ DESTCORL( string ) ]
[ EXPIRY( UNLIMITED | integer ) ]
[ PUBPRTY( ASPUB | ASQDEF | integer ) ]
[ PUBACCT( string ) ] [ PUBAPPID( string ) ]
[ SELECTOR( string ) ] [ USERDATA( string ) ]
[ DESTCLAS( MANAGED | PROVIDED ) ]
[ PSPROP( NONE | COMPAT | RFH2 | MSGPROP ) ]
[ REQONLY( YES | NO ) ] [ SUBLEVEL( integer ) ]
[ SUBUSER( string ) ] [ SUBSCOPE( ALL | QMGR ) ]
[ VARUSER( ANY | FIXED ) ] [ WSCHEMA( CHAR | TOPIC ) ]

[ LIKE( subscription_name ) ] [ REPLACE | NOREPLACE ]

It appears to be complaining about the user of the dash


Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.




List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Hatcher Jeter
2013-09-11 12:01:35 UTC
Permalink
First in the doc the '-' is not stated as recommend or reserved symbol so
at first I tought it was braking the syntax. I finally hit the right
combo the syntax should be so it reloads correctly.

DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> ''SHIP-LOAD'') AND (WMSTarget <> ''SHIP-LOAD-JDE'')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE

after reloading the def a dis sub shows. So it is an issue in the
dmpmqcfg - maybe I try MS03 to see how it handles it

dis SUB('ShipConfirm_Error_Subscription') all
30 : dis SUB('ShipConfirm_Error_Subscription') all
AMQ8096: WebSphere MQ subscription inquired.
SUBID(414D5120574D53202020202020202020FC593052081E0020)
SUB(ShipConfirm_Error_Subscription) TOPICSTR(ShipConfirm)
TOPICOBJ(ShipConfirm_Topic) DEST(ShipConfirm_Error_Q)
DESTQMGR(WMS) PUBAPPID( )
SELECTOR((NOT(WMSTarget IS NULL)) AND (WMSTarget <> ') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE'))
SELTYPE(EXTENDED) USERDATA( )
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120)
DESTCLAS(PROVIDED) DURABLE(YES)
EXPIRY(UNLIMITED) PSPROP(MSGPROP)
PUBPRTY(ASPUB) REQONLY(NO)
SUBSCOPE(ALL) SUBLEVEL(1)
SUBTYPE(ADMIN) VARUSER(ANY)
WSCHEMA(TOPIC) SUBUSER(mqm)
CRDATE(2013-09-11) CRTIME(04:55:02)
ALTDATE(2013-09-11) ALTTIME(04:55:02)

Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.






From:
Jefferson Lowrey <jlowrey-rIXRsD/***@public.gmane.org>
To:
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org,
Date:
09/11/2013 07:39 AM
Subject:
Re: DMPMQCFG
Sent by:
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>



Well, the fun thing about dmpmqcfg is that you can open a PMR against it.

If you think it's the - that's causing the problem, you can try \- ing it.


I'm a little more inclined to think it's a quoting problem and not a -
problem, but that's just a guess. I'd think it would be complaining
about a slightly place in the MQSC if it was, though.

Thank you,

Jeff Lowrey



From: Hatcher Jeter <Hatcher.Jeter-***@public.gmane.org>
To: MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org,
Date: 09/11/2013 07:29 AM
Subject: [MQSERIES] DMPMQCFG
Sent by: MQSeries List <MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org>



I have a question, I used the dmpmqcfg to get the mqsc from an existing
system so I could port definitions to a new system. Oddly enough some of
the mqsc FAIL due to syntax and I need to ask What am I missing here.
Googling returns no real help so I'm hoping that someone out there can
share some knowledge

Here is one on the commands that fail and the output

DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE
DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE 2 : DEFINE SUB('ShipConfirm_Error_Subscription') +
: TOPICSTR('') +
: TOPICOBJ('ShipConfirm_Topic') +
: DEST('ShipConfirm_Error_Q') +
: DESTQMGR('WMS') +
: SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND
(WMSTarget <> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
:
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
: DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
: SUBUSER('mqm') +

: REPLACE
AMQ8405: Syntax error detected at or near end of command segment below:-
DEFINE SUB('ShipConfirm_Error_Subscription') TOPICSTR('')
TOPICOBJ('ShipConfirm_Topic') DEST('ShipConfirm_Error_Q') DESTQMGR('WMS')
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget <>
'SHIP

AMQ8427: Valid syntax for the MQSC command:


DEFINE SUB( subscription_name )
TOPICSTR( string )
| TOPICOBJ( obj_name ) [ DEST( obj_name ) ]
[ DESTQMGR( generic_Q_Mgr_name ) ] [ DESTCORL( string ) ]
[ EXPIRY( UNLIMITED | integer ) ]
[ PUBPRTY( ASPUB | ASQDEF | integer ) ]
[ PUBACCT( string ) ] [ PUBAPPID( string ) ]
[ SELECTOR( string ) ] [ USERDATA( string ) ]
[ DESTCLAS( MANAGED | PROVIDED ) ]
[ PSPROP( NONE | COMPAT | RFH2 | MSGPROP ) ]
[ REQONLY( YES | NO ) ] [ SUBLEVEL( integer ) ]
[ SUBUSER( string ) ] [ SUBSCOPE( ALL | QMGR ) ]
[ VARUSER( ANY | FIXED ) ] [ WSCHEMA( CHAR | TOPIC ) ]
[ LIKE( subscription_name ) ] [ REPLACE | NOREPLACE ]

It appears to be complaining about the user of the dash


Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.




List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Jefferson Lowrey
2013-09-11 12:07:48 UTC
Permalink
So it is a quoting problem and not a - problem.

Reread the selector in the DISPLAY again. WMSTarget <> '' is not rendered
properly.


Thank you,

Jeff Lowrey



From: Hatcher Jeter <Hatcher.Jeter-***@public.gmane.org>
To: MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org,
Date: 09/11/2013 08:03 AM
Subject: Re: [MQSERIES] DMPMQCFG - RESOLVED
Sent by: MQSeries List <MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org>



First in the doc the '-' is not stated as recommend or reserved symbol so
at first I tought it was braking the syntax. I finally hit the right
combo the syntax should be so it reloads correctly.

DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> ''SHIP-LOAD'') AND (WMSTarget <> ''SHIP-LOAD-JDE'')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE

after reloading the def a dis sub shows. So it is an issue in the
dmpmqcfg - maybe I try MS03 to see how it handles it

dis SUB('ShipConfirm_Error_Subscription') all
30 : dis SUB('ShipConfirm_Error_Subscription') all
AMQ8096: WebSphere MQ subscription inquired.
SUBID(414D5120574D53202020202020202020FC593052081E0020)
SUB(ShipConfirm_Error_Subscription) TOPICSTR(ShipConfirm)
TOPICOBJ(ShipConfirm_Topic) DEST(ShipConfirm_Error_Q)
DESTQMGR(WMS) PUBAPPID( )
SELECTOR((NOT(WMSTarget IS NULL)) AND (WMSTarget <> ') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE'))
SELTYPE(EXTENDED) USERDATA( )
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)

DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120)
DESTCLAS(PROVIDED) DURABLE(YES)
EXPIRY(UNLIMITED) PSPROP(MSGPROP)
PUBPRTY(ASPUB) REQONLY(NO)
SUBSCOPE(ALL) SUBLEVEL(1)
SUBTYPE(ADMIN) VARUSER(ANY)
WSCHEMA(TOPIC) SUBUSER(mqm)
CRDATE(2013-09-11) CRTIME(04:55:02)
ALTDATE(2013-09-11) ALTTIME(04:55:02)

Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.





From:
Jefferson Lowrey <jlowrey-rIXRsD/***@public.gmane.org>
To:
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org,
Date:
09/11/2013 07:39 AM
Subject:
Re: DMPMQCFG
Sent by:
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>




Well, the fun thing about dmpmqcfg is that you can open a PMR against it.

If you think it's the - that's causing the problem, you can try \- ing it.


I'm a little more inclined to think it's a quoting problem and not a -
problem, but that's just a guess. I'd think it would be complaining
about a slightly place in the MQSC if it was, though.

Thank you,

Jeff Lowrey



From: Hatcher Jeter <Hatcher.Jeter-***@public.gmane.org>
To: MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org,
Date: 09/11/2013 07:29 AM
Subject: [MQSERIES] DMPMQCFG
Sent by: MQSeries List <MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org>



I have a question, I used the dmpmqcfg to get the mqsc from an existing
system so I could port definitions to a new system. Oddly enough some of
the mqsc FAIL due to syntax and I need to ask What am I missing here.
Googling returns no real help so I'm hoping that someone out there can
share some knowledge

Here is one on the commands that fail and the output

DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE
DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE 2 : DEFINE SUB('ShipConfirm_Error_Subscription') +
: TOPICSTR('') +
: TOPICOBJ('ShipConfirm_Topic') +
: DEST('ShipConfirm_Error_Q') +
: DESTQMGR('WMS') +
: SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND
(WMSTarget <> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
:
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
: DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
: SUBUSER('mqm') +

: REPLACE
AMQ8405: Syntax error detected at or near end of command segment below:-
DEFINE SUB('ShipConfirm_Error_Subscription') TOPICSTR('')
TOPICOBJ('ShipConfirm_Topic') DEST('ShipConfirm_Error_Q') DESTQMGR('WMS')
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget <>
'SHIP

AMQ8427: Valid syntax for the MQSC command:


DEFINE SUB( subscription_name )
TOPICSTR( string )
| TOPICOBJ( obj_name ) [ DEST( obj_name ) ]
[ DESTQMGR( generic_Q_Mgr_name ) ] [ DESTCORL( string ) ]
[ EXPIRY( UNLIMITED | integer ) ]
[ PUBPRTY( ASPUB | ASQDEF | integer ) ]
[ PUBACCT( string ) ] [ PUBAPPID( string ) ]
[ SELECTOR( string ) ] [ USERDATA( string ) ]
[ DESTCLAS( MANAGED | PROVIDED ) ]
[ PSPROP( NONE | COMPAT | RFH2 | MSGPROP ) ]
[ REQONLY( YES | NO ) ] [ SUBLEVEL( integer ) ]
[ SUBUSER( string ) ] [ SUBSCOPE( ALL | QMGR ) ]
[ VARUSER( ANY | FIXED ) ] [ WSCHEMA( CHAR | TOPIC ) ]
[ LIKE( subscription_name ) ] [ REPLACE | NOREPLACE ]

It appears to be complaining about the user of the dash


Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.




List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Hatcher Jeter
2013-09-11 12:20:24 UTC
Permalink
I think this is a problem because dmpmqcf dumps the object and does not
correctly format it for reload. So I think it is a PMR

DMPMQCFG Example:
DEFINE SUB('POInvPutaway_Error_Subscription') +
TOPICSTR('POInvPutaway') +
TOPICOBJ('POInvPutaway_Topic') +
DEST('POInvPutaway_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> 'VAR-INV-PUTAWAY') AND (WMSTarget <> 'VAR-INV-PUTAWAY-JDE')') +
* SELTYPE(STANDARD) +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020EB8D9A5173370120) +
* SUBTYPE(ADMIN) +
WSCHEMA(CHAR) +
SUBUSER('mqm') +
* CRDATE(2013-09-11) +
* CRTIME(05:09:22) +
* ALTDATE(2013-09-11) +
* ALTTIME(05:09:22) +
REPLACE

Where as MS03 Dumps the content in a reloadable format:
DEFINE SUB ('POInvPutaway_Error_Subscription') +
* CRDATE (2013-09-11) +
* CRTIME (05:09:22) +
* ALTDATE (2013-09-11) +
* ALTTIME (05:09:22) +
* SUBTYPE(ADMIN) +
* SELTYPE(NONE) +
* DESTCORL(414D5120514D2E574D53202020202020EB8D9A5173370120) +
* DURABLE(YES) +
* SUBID(414D5120574D53202020202020202020FC593052C3280020) +
DESTQMGR('WMS') +
DEST('POInvPutaway_Error_Q') +
DESTCLAS(PROVIDED) +
EXPIRY(UNLIMITED) +
PUBACCT(03373036000000000000000000000000000000000000000000000-
00000000006) +
PUBAPPID(' ') +
PUBPRTY(ASPUB) +
PSPROP(MSGPROP) +
REQONLY(NO) +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '''') AN-
D (WMSTarget <> ''VAR-INV-PUTAWAY'') AND (WMSTarget <> ''VAR-INV-PUT-
AWAY-JDE'')') +
SUBLEVEL(1) +
SUBSCOPE(ALL) +
SUBUSER('mqm') +
TOPICSTR('POInvPutaway') +
TOPICOBJ('POInvPutaway_Topic') +
USERDATA(' ') +
VARUSER(ANY) +
WSCHEMA(CHAR) +
REPLACE

Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.






From:
Jefferson Lowrey <jlowrey-rIXRsD/***@public.gmane.org>
To:
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org,
Date:
09/11/2013 08:08 AM
Subject:
Re: DMPMQCFG - RESOLVED
Sent by:
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>



So it is a quoting problem and not a - problem.

Reread the selector in the DISPLAY again. WMSTarget <> '' is not rendered
properly.


Thank you,

Jeff Lowrey



From: Hatcher Jeter <Hatcher.Jeter-***@public.gmane.org>
To: MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org,
Date: 09/11/2013 08:03 AM
Subject: Re: [MQSERIES] DMPMQCFG - RESOLVED
Sent by: MQSeries List <MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org>



First in the doc the '-' is not stated as recommend or reserved symbol so
at first I tought it was braking the syntax. I finally hit the right
combo the syntax should be so it reloads correctly.

DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget
<> ''SHIP-LOAD'') AND (WMSTarget <> ''SHIP-LOAD-JDE'')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE

after reloading the def a dis sub shows. So it is an issue in the
dmpmqcfg - maybe I try MS03 to see how it handles it

dis SUB('ShipConfirm_Error_Subscription') all
30 : dis SUB('ShipConfirm_Error_Subscription') all
AMQ8096: WebSphere MQ subscription inquired.
SUBID(414D5120574D53202020202020202020FC593052081E0020)
SUB(ShipConfirm_Error_Subscription) TOPICSTR(ShipConfirm)
TOPICOBJ(ShipConfirm_Topic) DEST(ShipConfirm_Error_Q)
DESTQMGR(WMS) PUBAPPID( )
SELECTOR((NOT(WMSTarget IS NULL)) AND (WMSTarget <> ') AND (WMSTarget <>
'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE'))
SELTYPE(EXTENDED) USERDATA( )
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)

DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120)
DESTCLAS(PROVIDED) DURABLE(YES)
EXPIRY(UNLIMITED) PSPROP(MSGPROP)
PUBPRTY(ASPUB) REQONLY(NO)
SUBSCOPE(ALL) SUBLEVEL(1)
SUBTYPE(ADMIN) VARUSER(ANY)
WSCHEMA(TOPIC) SUBUSER(mqm)
CRDATE(2013-09-11) CRTIME(04:55:02)
ALTDATE(2013-09-11) ALTTIME(04:55:02)

Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.




From:
Jefferson Lowrey <jlowrey-rIXRsD/***@public.gmane.org>
To:
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org,
Date:
09/11/2013 07:39 AM
Subject:
Re: DMPMQCFG
Sent by:
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>





Well, the fun thing about dmpmqcfg is that you can open a PMR against it.

If you think it's the - that's causing the problem, you can try \- ing it.


I'm a little more inclined to think it's a quoting problem and not a -
problem, but that's just a guess. I'd think it would be complaining
about a slightly place in the MQSC if it was, though.

Thank you,

Jeff Lowrey



From: Hatcher Jeter <Hatcher.Jeter-***@public.gmane.org>
To: MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org,
Date: 09/11/2013 07:29 AM
Subject: [MQSERIES] DMPMQCFG
Sent by: MQSeries List <MQSERIES-JX7+OpRa80QeFbOYke1v4oOpTq8/***@public.gmane.org>



I have a question, I used the dmpmqcfg to get the mqsc from an existing
system so I could port definitions to a new system. Oddly enough some of
the mqsc FAIL due to syntax and I need to ask What am I missing here.
Googling returns no real help so I'm hoping that someone out there can
share some knowledge

Here is one on the commands that fail and the output

DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget <>
'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE
DEFINE SUB('ShipConfirm_Error_Subscription') +
TOPICSTR('') +
TOPICOBJ('ShipConfirm_Topic') +
DEST('ShipConfirm_Error_Q') +
DESTQMGR('WMS') +
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget <>
'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
SUBUSER('mqm') +
REPLACE 2 : DEFINE SUB('ShipConfirm_Error_Subscription') +
: TOPICSTR('') +
: TOPICOBJ('ShipConfirm_Topic') +
: DEST('ShipConfirm_Error_Q') +
: DESTQMGR('WMS') +
: SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND
(WMSTarget <> 'SHIP-LOAD') AND (WMSTarget <> 'SHIP-LOAD-JDE')') +
:
PUBACCT(0337303600000000000000000000000000000000000000000000000000000006)
+
: DESTCORL(414D5120514D2E574D53202020202020085A2A52CDC10120) +
: SUBUSER('mqm') +

: REPLACE
AMQ8405: Syntax error detected at or near end of command segment below:-
DEFINE SUB('ShipConfirm_Error_Subscription') TOPICSTR('')
TOPICOBJ('ShipConfirm_Topic') DEST('ShipConfirm_Error_Q') DESTQMGR('WMS')
SELECTOR('(NOT(WMSTarget IS NULL)) AND (WMSTarget <> '') AND (WMSTarget <>
'SHIP

AMQ8427: Valid syntax for the MQSC command:


DEFINE SUB( subscription_name )
TOPICSTR( string )
| TOPICOBJ( obj_name ) [ DEST( obj_name ) ]
[ DESTQMGR( generic_Q_Mgr_name ) ] [ DESTCORL( string ) ]
[ EXPIRY( UNLIMITED | integer ) ]
[ PUBPRTY( ASPUB | ASQDEF | integer ) ]
[ PUBACCT( string ) ] [ PUBAPPID( string ) ]
[ SELECTOR( string ) ] [ USERDATA( string ) ]
[ DESTCLAS( MANAGED | PROVIDED ) ]
[ PSPROP( NONE | COMPAT | RFH2 | MSGPROP ) ]
[ REQONLY( YES | NO ) ] [ SUBLEVEL( integer ) ]
[ SUBUSER( string ) ] [ SUBSCOPE( ALL | QMGR ) ]
[ VARUSER( ANY | FIXED ) ] [ WSCHEMA( CHAR | TOPIC ) ]
[ LIKE( subscription_name ) ] [ REPLACE | NOREPLACE ]

It appears to be complaining about the user of the dash


Hatcher H. Jeter, Jr.
Domain Architect - Integration Technologies
IBM Practice
Avnet Services

Mobile: 804-334-4750
hatcher.jeter-***@public.gmane.org
www.atech.com

This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEES(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank You.




List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

Loading...