Hatcher Jeter
2013-09-11 11:28:57 UTC
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
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