ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportInvalid Parser Seq Error from PCF Command

Post new topicReply to topic Goto page Previous  1, 2, 3, 4, 5  Next
Invalid Parser Seq Error from PCF Command View previous topic :: View next topic
Author Message
jefflowrey
PostPosted: Wed Jul 20, 2005 11:34 am Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

shediiwork wrote:
How can I show the message?


By properly stopping the command server, and ensuring that the open input count on SYSTEM.ADMIN.COMMAND.QUEUE is 0 before you try and put the message there. And then running amqsbcg after a successful put.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
shediiwork
PostPosted: Wed Jul 20, 2005 11:52 am Post subject: Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

Jeff, I have done that serveral time. But, I just notice that after a restart an amqerr error in the system log.

+-----------------------------------------------------------------------------+
| |
| WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Wed July 20 15:43:18 Eastern Daylight Time 2005 |
| Host Name :- JXSRV45 (Windows 2000 Build 2195: Service Pack 4) |
| PIDS :- 5724B4100 |
| LVLS :- 530.9 CSD09 |
| Product Long Name :- WebSphere MQ for Windows |
| Vendor :- IBM |
| Probe Id :- VP009005 |
| Application Name :- MQM |
| Component :- vwb_admin |
| Build Date :- Dec 13 2004 |
| CMVC level :- p530-09-L041213 |
| Build Type :- IKAP - (Production) |
| UserID :- MUSR_MQADMIN |
| Process Name :- C:\Program Files\IBM\WebSphere MQ\bin\AMQPCSEA.EXE |
| Process :- 00003484 |
| Thread :- 00000001 |
| QueueManager :- QMJ720BD1 |
| Major Errorcode :- vrcE_BAD_LENGTH_1 |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ7924 |
| Probe Severity :- 2 |
| Probe Description :- AMQ7924: Bad length in the PCF header (length = |
| 603979776). |
| FDCSequenceNumber :- 0 |
| Arith1 :- 603979776 24000000 |
| |
+-----------------------------------------------------------------------------+

MQM Function Stack
pcmMain
MQGET
zstMQGET
vpiConvertData
vwaConvert
vwb_admin
xcsFFST

MQM Trace History
------} xcsResetEventSem rc=OK
------{ xcsPostEventSem
------} xcsPostEventSem rc=OK
-----} zcpSendOnPipe rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=OK
-----} zcpReceiveOnPipe rc=OK
----} ziiSendReceiveAgent rc=OK
----{ zcpDeleteMessage
----} zcpDeleteMessage rc=OK
---} ziiMQINQ rc=OK
--} zstMQINQ rc=OK
-} MQINQ rc=OK
-{ MQGET
--{ zstMQGET
---{ zstVerifyPCD
---} zstVerifyPCD rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ ziiMQGET
----{ ziiCreateIPCCMessage
-----{ zcpCreateMessage
-----} zcpCreateMessage rc=OK
----} ziiCreateIPCCMessage rc=OK
----{ ziiSendReceiveAgent
-----{ zcpSendOnPipe
------{ xcsResetEventSem
------} xcsResetEventSem rc=OK
------{ xcsPostEventSem
------} xcsPostEventSem rc=OK
-----} zcpSendOnPipe rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=xecL_W_TIMEOUT
-----} zcpReceiveOnPipe rc=zrcC_E_TIMEOUT
-----{ ziiHealthCheck
------{ xcsCheckHandle
------} xcsCheckHandle rc=OK
-----} ziiHealthCheck rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=xecL_W_TIMEOUT
-----} zcpReceiveOnPipe rc=zrcC_E_TIMEOUT
-----{ ziiHealthCheck
------{ xcsCheckHandle
------} xcsCheckHandle rc=OK
-----} ziiHealthCheck rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=OK
-----} zcpReceiveOnPipe rc=OK
----} ziiSendReceiveAgent rc=arcE_NO_MSG_AVAILABLE
----{ zcpDeleteMessage
-----{ xcsFreeMemBlock
-----} xcsFreeMemBlock rc=OK
----} zcpDeleteMessage rc=OK
---} ziiMQGET rc=OK
--} zstMQGET rc=arcE_NO_MSG_AVAILABLE
-} MQGET rc=arcE_NO_MSG_AVAILABLE
-{ MQINQ
--{ zstMQINQ
---{ zstVerifyPCD
---} zstVerifyPCD rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ ziiMQINQ
----{ ziiCreateIPCCMessage
-----{ zcpCreateMessage
-----} zcpCreateMessage rc=OK
----} ziiCreateIPCCMessage rc=OK
----{ ziiSendReceiveAgent
-----{ zcpSendOnPipe
------{ xcsResetEventSem
------} xcsResetEventSem rc=OK
------{ xcsPostEventSem
------} xcsPostEventSem rc=OK
-----} zcpSendOnPipe rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=OK
-----} zcpReceiveOnPipe rc=OK
----} ziiSendReceiveAgent rc=OK
----{ zcpDeleteMessage
----} zcpDeleteMessage rc=OK
---} ziiMQINQ rc=OK
--} zstMQINQ rc=OK
-} MQINQ rc=OK
-{ MQGET
--{ zstMQGET
---{ zstVerifyPCD
---} zstVerifyPCD rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ ziiMQGET
----{ ziiCreateIPCCMessage
-----{ zcpCreateMessage
-----} zcpCreateMessage rc=OK
----} ziiCreateIPCCMessage rc=OK
----{ ziiSendReceiveAgent
-----{ zcpSendOnPipe
------{ xcsResetEventSem
------} xcsResetEventSem rc=OK
------{ xcsPostEventSem
------} xcsPostEventSem rc=OK
-----} zcpSendOnPipe rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=xecL_W_TIMEOUT
-----} zcpReceiveOnPipe rc=zrcC_E_TIMEOUT
-----{ ziiHealthCheck
------{ xcsCheckHandle
------} xcsCheckHandle rc=OK
-----} ziiHealthCheck rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=xecL_W_TIMEOUT
-----} zcpReceiveOnPipe rc=zrcC_E_TIMEOUT
-----{ ziiHealthCheck
------{ xcsCheckHandle
------} xcsCheckHandle rc=OK
-----} ziiHealthCheck rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=OK
-----} zcpReceiveOnPipe rc=OK
----} ziiSendReceiveAgent rc=arcE_NO_MSG_AVAILABLE
----{ zcpDeleteMessage
-----{ xcsFreeMemBlock
-----} xcsFreeMemBlock rc=OK
----} zcpDeleteMessage rc=OK
---} ziiMQGET rc=OK
--} zstMQGET rc=arcE_NO_MSG_AVAILABLE
-} MQGET rc=arcE_NO_MSG_AVAILABLE
-{ MQINQ
--{ zstMQINQ
---{ zstVerifyPCD
---} zstVerifyPCD rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ ziiMQINQ
----{ ziiCreateIPCCMessage
-----{ zcpCreateMessage
-----} zcpCreateMessage rc=OK
----} ziiCreateIPCCMessage rc=OK
----{ ziiSendReceiveAgent
-----{ zcpSendOnPipe
------{ xcsResetEventSem
------} xcsResetEventSem rc=OK
------{ xcsPostEventSem
------} xcsPostEventSem rc=OK
-----} zcpSendOnPipe rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=OK
-----} zcpReceiveOnPipe rc=OK
----} ziiSendReceiveAgent rc=OK
----{ zcpDeleteMessage
----} zcpDeleteMessage rc=OK
---} ziiMQINQ rc=OK
--} zstMQINQ rc=OK
-} MQINQ rc=OK
-{ MQGET
--{ zstMQGET
---{ zstVerifyPCD
---} zstVerifyPCD rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ xcsCheckPointer
---} xcsCheckPointer rc=OK
---{ ziiMQGET
----{ ziiCreateIPCCMessage
-----{ zcpCreateMessage
-----} zcpCreateMessage rc=OK
----} ziiCreateIPCCMessage rc=OK
----{ ziiSendReceiveAgent
-----{ zcpSendOnPipe
------{ xcsResetEventSem
------} xcsResetEventSem rc=OK
------{ xcsPostEventSem
------} xcsPostEventSem rc=OK
-----} zcpSendOnPipe rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=xecL_W_TIMEOUT
-----} zcpReceiveOnPipe rc=zrcC_E_TIMEOUT
-----{ ziiHealthCheck
------{ xcsCheckHandle
------} xcsCheckHandle rc=OK
-----} ziiHealthCheck rc=OK
-----{ zcpReceiveOnPipe
------{ xcsWaitEventSem
------} xcsWaitEventSem rc=OK
-----} zcpReceiveOnPipe rc=OK
----} ziiSendReceiveAgent rc=OK
----{ zcpDeleteMessage
-----{ xcsFreeMemBlock
------{ xstRemoveBlockFromFreeTree
------} xstRemoveBlockFromFreeTree rc=OK
-----} xcsFreeMemBlock rc=OK
----} zcpDeleteMessage rc=OK
---} ziiMQGET rc=OK
---{ vpiConvertData
----{ xcsGetMem
----} xcsGetMem rc=OK
----{ xcsGetMem
----} xcsGetMem rc=OK
----{ vwaConvert
-----{ vwb_admin
------{ vwb_admin_extract
------} vwb_admin_extract rc=OK
------{ xcsBuildDumpPtr
-------{ xcsGetMem
-------} xcsGetMem rc=OK
------} xcsBuildDumpPtr rc=OK
------{ xcsBuildDumpPtr
------} xcsBuildDumpPtr rc=OK
------{ xcsFFST

Message Descriptor
00515E80 4D442020 02000000 00000000 01000000 MD ............
00515E90 FFFFFFFF 00000000 11010000 B5010000 ÿÿÿÿ........µ...
00515EA0 4D514144 4D494E20 04000000 01000000 MQADMIN ........
00515EB0 414D5120 514D4A37 32304244 31202020 AMQ QMJ720BD1
00515EC0 4C8FDE42 20000905 00000000 00000000 L.ÞB . .........
00515ED0 00000000 00000000 00000000 00000000 ................
00515EE0 00000000 46494E41 4E434941 4C2E5245 ....FINANCIAL.RE
00515EF0 53502E43 4F4E5452 4F4C2020 20202020 SP.CONTROL
00515F00 20202020 20202020 20202020 20202020
00515F10 20202020 514D4A37 32304244 31202020 QMJ720BD1
00515F20 20202020 20202020 20202020 20202020
00515F30 20202020 20202020 20202020 20202020
00515F40 20202020 7762726B 75736572 20202020 wbrkuser
00515F50 16010515 00000057 29024C78 006D1F43 .......W).Lx.m.C
00515F60 170A32FD 03000000 00000000 0000000B ..2ý............
00515F70 20202020 20202020 20202020 20202020
00515F80 20202020 20202020 20202020 20202020
00515F90 1C000000 57656273 70686572 65204D51 ....Websphere MQ
00515FA0 20436C69 656E7420 666F7220 4A617661 Client for Java
00515FB0 32303035 30373230 31393337 33393638 2005072019373968
00515FC0 20202020 00000000 00000000 00000000 ............
00515FD0 00000000 00000000 00000000 01000000 ................
00515FE0 00000000 00000000 FFFFFFFF ........ÿÿÿÿ


PCF Header
0051CEE0 01000000 24000000 ....$...
0051CEF0 01000000 08000000 01000000 01000000 ................
0051CF00 00000000 00000000 03000000 ............


Process Control Block
4E94EB00 58494850 CC020000 9C0D0000 4A000000 XIHPÌ...œ...J...
4E94EB10 00000000 00000000 01000000 00000000 ................
4E94EB20 683C5100 683C5100 01000000 1C000000 h<Q.h<Q.........
4E94EB30 01050000 00000005 15000000 5729024C ............W).L
4E94EB40 78006D1F 43170A32 ED030000 00000000 x.m.C..2í.......
4E94EB50 00000000 00000000 01000000 00000000 ................
4E94EB60 FFFFFFFF 00000000 00000000 00000000 ÿÿÿÿ............
4E94EB70 433A5C50 726F6772 616D2046 696C6573 C:\Program Files
4E94EB80 5C49424D 5C576562 53706865 7265204D \IBM\WebSphere M
4E94EB90 515C6572 726F7273 5C414D51 33343834 Q\errors\AMQ3484
4E94EBA0 2E545243 00000000 00000000 00000000 .TRC............
4E94EBB0 00000000 00000000 00000000 00000000 ................
4E94EBC0 to 4E94EC60 suppressed, lines same as above
4E94EC70 00000000 00000000 01000000 58721300 ............Xr..
4E94EC80 FFFFFFFF 00000000 00000000 00000000 ÿÿÿÿ............
4E94EC90 00000000 08721300 FFFFFFFF 00000000 .....r..ÿÿÿÿ....
4E94ECA0 00000000 00000000 00000000 30721300 ............0r..
4E94ECB0 FFFFFFFF 00000000 00000000 00000000 ÿÿÿÿ............
4E94ECC0 00000000 80721300 FFFFFFFF 00000000 ....€r..ÿÿÿÿ....
4E94ECD0 00000000 00000000 00000000 4D555352 ............MUSR
4E94ECE0 5F4D5141 444D494E 00000000 00000000 _MQADMIN........
4E94ECF0 00000000 00000000 00000000 00000003 ................
4E94ED00 00000000 00000000 00000000 00000000 ................
4E94ED10 00000000 00000000 00000000 00000000 ................
4E94ED20 00000000 1F000000 01050000 00000005 ................
4E94ED30 15000000 5729024C 78006D1F 43170A32 ....W).Lx.m.C..2
4E94ED40 EC030000 00000000 00000000 01010000 ì...............
4E94ED50 00000005 12000000 00000000 00000000 ................
4E94ED60 00000000 00000000 00000000 00000000 ................
4E94ED70 01020000 00000005 20000000 20020000 ........ ... ...
4E94ED80 00000000 00000000 00000000 00000000 ................
4E94ED90 00000000 01010000 00000001 00000000 ................
4E94EDA0 00000000 00000000 00000000 00000000 ................
4E94EDB0 00000000 00000000 E82C5100 00100000 ........è,Q.....
4E94EDC0 05000000 00000000 00000000 ............


Common Services Control Block
00516300 58494820 A4020000 01000000 02000000 XIH ¤...........
00516310 E0595100 04010000 B5010000 00000000 àYQ.....µ.......
00516320 00000000 C87C5100 987B5100 707C5100 ....È|Q.˜{Q.p|Q.
00516330 487B5100 00000000 B4000000 433A5C50 H{Q.....´...C:\P
00516340 726F6772 616D2046 696C6573 5C49424D rogram Files\IBM
00516350 5C576562 53706865 7265204D 51000000 \WebSphere MQ...
00516360 00000000 00000000 00000000 00000000 ................
00516370 to 00516430 suppressed, lines same as above
00516440 00000000 0C000000 80000000 E8B85100 ........€...è¸Q.
00516450 A0C95100 10485100 00000000 00000000  ÉQ..HQ.........
00516460 00000000 00000000 00000000 00000000 ................
00516470 to 00516550 suppressed, lines same as above
00516560 00000000 00000000 01000000 00000000 ................
00516570 F8665100 00000000 00000000 00000000 øfQ.............
00516580 00000000 00000000 00000000 00000000 ................
00516590 00000000 00000000 00000000 00000000 ................
005165A0 C87C5100 È|Q.


Thread Control Block
00513C60 58494854 A00B0000 XIHT ...
00513C70 01000000 5C000000 00000000 00000000 ....\...........
00513C80 00000000 00000000 04000000 00000000 ................
00513C90 00000000 00000000 00000000 00000000 ................
00513CA0 to 00513F60 suppressed, lines same as above
00513F70 00000000 00000000 FFFFFFFF 00000000 ........ÿÿÿÿ....
00513F80 00000000 00000000 00000000 00000000 ................
00513F90 00000000 00000000 01000000 02000000 ................
00513FA0 02000000 03000000 04000000 04000000 ................
00513FB0 05000000 06000000 06000000 07000000 ................
00513FC0 07000000 07000000 07000000 07000000 ................
00513FD0 08000000 98CA5100 F8060000 00000000 ....˜ÊQ.ø.......
00513FE0 00000000 02000000 02000000 02000000 ................
00513FF0 02000000 02000000 02000000 03000000 ................
00514000 03000000 03000000 03000000 03000000 ................
00514010 04000000 05000000 05000000 05000000 ................
00514020 80000000 C0AC5100 0A000000 06000000 €...À¬Q.........
00514030 4D555352 5F4D5141 444D494E 00000000 MUSR_MQADMIN....
00514040 00000000 00000000 1C000000 01050000 ................
00514050 00000005 15000000 5729024C 78006D1F ........W).Lx.m.
00514060 43170A32 ED030000 00000000 00000000 C..2í...........
00514070 01000000 00000000 00000000 00000000 ................
00514080 00000000 00000000 00000000 02000000 ................
00514090 00000000 00000000 B83E934E F8665100 ........¸>“NøfQ.
005140A0 00000000 00000000 00000000 00000000 ................
005140B0 00000000 02000000 00000000 00000000 ................
005140C0 00000000 00000000 00000000 00000000 ................
005140D0 00000000 01000000 00000000 34420000 ............4B..
005140E0 00000000 00000000 00000000 00000000 ................
005140F0 to 00514100 suppressed, lines same as above
00514110 00000000 3452A500 00000000 00000000 ....4R¥.........
00514120 00000000 00000000 00000000 260E0000 ............&...
00514130 00000000 00000000 00000000 00000000 ................
00514140 00000000 00000000 00000000 00000000 ................
00514150 00000000 00000000 00000000 90CE5100 .............ÎQ.
00514160 00000000 00000000 00000000 00000000 ................
00514170 to 00514190 suppressed, lines same as above
005141A0 00000000 00000000 00000000 514D4A37 ............QMJ7
005141B0 32304244 31000000 00000000 00000000 20BD1...........
005141C0 00000000 00000000 00000000 00000000 ................
005141D0 to 00514200 suppressed, lines same as above
00514210 514D4A37 32304244 31000000 00000000 QMJ720BD1.......
00514220 00000000 00000000 00000000 00000000 ................
00514230 to 00514260 suppressed, lines same as above
00514270 00000000 F8C0DD00 5C75AB00 00000000 ....øÀÝ.\u«.....
00514280 00000000 00000000 00000000 00000000 ................
00514290 to 005142B0 suppressed, lines same as above
005142C0 00000000 00000000 00000000 004C00F0 .............L.ð
005142D0 288000F0 C78000F0 005800F0 085800F0 (€.ðÇ€.ð.X.ð.X.ð
005142E0 095800F0 035C00F0 155C00F0 065C00F0 X.ð.\.ð.\.ð.\.ð
005142F0 C96000F0 3D6100F0 055C00F0 3D6100F0 É`.ð=a.ð.\.ð=a.ð
00514300 00000000 00000000 00000000 00000000 ................
00514310 to 00514380 suppressed, lines same as above
00514390 00000000 425C0000 425C00F0 425C0000 ....B\..B\.ðB\..
005143A0 425C00F0 425C0000 425C00F0 425C0000 B\.ðB\..B\.ðB\..
005143B0 to 00514440 suppressed, lines same as above
00514450 155C00F0 155C0000 425C00F0 425C0000 .\.ð.\..B\.ðB\..
00514460 425C00F0 425C0000 155C00F0 155C0000 B\.ðB\...\.ð.\..
00514470 425C00F0 425C0000 425C00F0 425C0000 B\.ðB\..B\.ðB\..
00514480 155C00F0 155C0000 425C00F0 425C0000 .\.ð.\..B\.ðB\..
00514490 425C00F0 425C0000 155C00F0 155C0000 B\.ðB\...\.ð.\..
005144A0 425C00F0 425C0000 425C00F0 425C0000 B\.ðB\..B\.ðB\..
005144B0 155C00F0 155C0000 425C00F0 425C0000 .\.ð.\..B\.ðB\..
005144C0 425C00F0 425C0000 425C00F0 425C0000 B\.ðB\..B\.ðB\..
005144D0 to 00514760 suppressed, lines same as above
00514770 425C00F0 425C0000 425C00F0 00000000 B\.ðB\..B\.ð....
00514780 00000000 00000000 49000000 1B000000 ........I.......
00514790 00000000 00000000 00000000 00000000 ................
005147A0 00000000 00000000 48C25100 00000000 ........HÂQ.....
005147B0 00000000 00000000 00000000 00000000 ................
005147C0 to 005147F0 suppressed, lines same as above
00514800 00000000 00000000 ........


Component Dumps (Thread 00000001)
-------------------------------------
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jul 20, 2005 12:05 pm Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Verrry interesting .....
Quote:
| Probe Description :- AMQ7924: Bad length in the PCF header (length = |
| 603979776). |

and ....
Quote:

PCF Header
0051CEE0 01000000 24000000 ....$...
0051CEF0 01000000 08000000 01000000 01000000 ................
0051CF00 00000000 00000000 03000000 ............

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
wschutz
PostPosted: Wed Jul 20, 2005 4:32 pm Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Can you try this? Change the message encoding from 273 to 546:

Code:

...
set OutputRoot.BLOB.BLOB = asbitstream(OutputRoot.MQPCF);
set OutputRoot.MQPCF = null;
SET OutputRoot.MQMD.Format = MQFMT_ADMIN;
SET OutputRoot.MQMD.Encoding = 546;


I have reason to believe this might help...
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shediiwork
PostPosted: Wed Jul 20, 2005 5:07 pm Post subject: Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

IBM support and I discovered that around the same as yourself. Which allows me to change the description (easy enough) but GET INHIBITED or GET ALLOWED.

I tried the following and message remains in the SYSTEM.ADMIN.COMMAND.QUEUE. Yes, Jeff, I got the message this time.

CALL CopyMessageHeaders();
SET OutputRoot.Properties.Encoding = 546;
SET OutputRoot.MQMD.MsgType = MQMT_REQUEST;
SET OutputRoot.MQMD.Format = MQFMT_ADMIN;
SET OutputRoot.MQMD.ReplyToQ = 'FINANCIAL.RESP.CONTROL';
SET OutputRoot.MQMD.MsgSeqNumber = 1;

CREATE FIELD OutputRoot.MQPCF;
DECLARE refRequest REFERENCE TO OutputRoot.MQPCF;
SET refRequest.Type = MQCFT_COMMAND;
SET refRequest.StrucLength = MQCFH_STRUC_LENGTH;
SET refRequest.Version = MQCFH_CURRENT_VERSION;
SET refRequest.Command = MQCMD_CHANGE_Q;
SET refRequest.MsgSeqNumber = 1;
SET refRequest.Control = MQCFC_LAST;

SET refRequest.Parameter[1] = MQCA_Q_NAME;
SET refRequest.Parameter[1].* = 'QL.BRKJX01.MPTSTP.DIFMS.MS475D01.IN.JX';

SET refRequest.Parameter[2] = MQIA_Q_TYPE;
SET refRequest.Parameter[2].* = MQQT_LOCAL;

SET refRequest.Parameter[3] = MQIA_INHIBIT_GET;
SET refRequest.Parameter[3].* = 1;

set OutputRoot.BLOB.BLOB = asbitstream(OutputRoot.MQPCF);
set OutputRoot.MQPCF = null;
set OutputRoot.MQRFH2 = null;
SET OutputRoot.MQMD.Format = MQFMT_ADMIN;

D:\trace\pmr>amqsbcg SYSTEM.ADMIN.COMMAND.QUEUE QMJ720BD1

AMQSBCG0 - starts here
**********************

MQOPEN - 'SYSTEM.ADMIN.COMMAND.QUEUE'


MQGET of message number 1
****Message descriptor****

StrucId : 'MD ' Version : 2
Report : 0 MsgType : 1
Expiry : -1 Feedback : 0
Encoding : 546 CodedCharSetId : 437
Format : 'MQADMIN '
Priority : 0 Persistence : 0
MsgId : X'414D5120514D4A3732304244312020204C8FDE422000D801'
CorrelId : X'000000000000000000000000000000000000000000000000'
BackoutCount : 0
ReplyToQ : 'FINANCIAL.RESP.CONTROL '
ReplyToQMgr : 'QMJ720BD1 '
** Identity Context
UserIdentifier : 'wbrkuser '
AccountingToken :
X'160105150000005729024C78006D1F43170A32FD03000000000000000000000B'
ApplIdentityData : ' '
** Origin Context
PutApplType : '11'
PutApplName : 'okers\bin\DataFlowEngine.exe'
PutDate : '20050721' PutTime : '00445093'
ApplOriginData : ' '

GroupId : X'000000000000000000000000000000000000000000000000'
MsgSeqNumber : '1'
Offset : '0'
MsgFlags : '0'
OriginalLength : '-1'

**** Message ****

length - 128 bytes

00000000: 0100 0000 2400 0000 0100 0000 0800 0000 '....$...........'
00000010: 0100 0000 0100 0000 0000 0000 0000 0000 '................'
00000020: 0300 0000 0400 0000 3C00 0000 E007 0000 '........<...&#945;...'
00000030: B501 0000 2600 0000 514C 2E42 524B 4A58 '&#9569;...&...QL.BRKJX'
00000040: 3031 2E4D 5054 5354 502E 4449 464D 532E '01.MPTSTP.DIFMS.'
00000050: 4D53 3437 3544 3031 2E49 4E2E 4A58 0000 'MS475D01.IN.JX..'
00000060: 0300 0000 1000 0000 1400 0000 0100 0000 '................'
00000070: 0300 0000 1000 0000 0900 0000 0000 0000 '........ .......'



No more messages
MQCLOSE
MQDISC

Shed.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jul 20, 2005 5:20 pm Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Okay, glad that worked. Can you explain what you mean:
Quote:

Which allows me to change the description (easy enough) but GET INHIBITED or GET ALLOWED

i think you are saying that you can change the description now (good) but you still can't change the GET attribute of the queue. Are you getting a reply message in your ReplyToQ, and if so, can you dump that with amqsbcg?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shediiwork
PostPosted: Wed Jul 20, 2005 5:29 pm Post subject: Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

That is what I was trying to say. Here's the dump from the ReplyToQueue. One message is a Get INHIBITED and a GET ALLOWED.

D:\trace\pmr>amqsbcg FINANCIAL.RESP.CONTROL QMJ720BD1

AMQSBCG0 - starts here
**********************

MQOPEN - 'FINANCIAL.RESP.CONTROL'


MQGET of message number 1
****Message descriptor****

StrucId : 'MD ' Version : 2
Report : 0 MsgType : 2
Expiry : -1 Feedback : 0
Encoding : 546 CodedCharSetId : 437
Format : 'MQADMIN '
Priority : 4 Persistence : 1
MsgId : X'414D5120514D4A3732304244312020204C8FDE422000D05F'
CorrelId : X'414D5120514D4A3732304244312020204C8FDE422000091C'
BackoutCount : 0
ReplyToQ : ' '
ReplyToQMgr : 'QMJ720BD1 '
** Identity Context
UserIdentifier : 'wbrkuser '
AccountingToken :
X'160105150000005729024C78006D1F43170A32FD03000000000000000000000B'
ApplIdentityData : ' '
** Origin Context
PutApplType : '11'
PutApplName : 'ebSphere MQ\bin\AMQPCSEA.EXE'
PutDate : '20050721' PutTime : '00322116'
ApplOriginData : ' '

GroupId : X'000000000000000000000000000000000000000000000000'
MsgSeqNumber : '1'
Offset : '0'
MsgFlags : '0'
OriginalLength : '-1'

**** Message ****

length - 36 bytes

00000000: 0200 0000 2400 0000 0100 0000 0800 0000 '....$...........'
00000010: 0100 0000 0100 0000 0000 0000 0000 0000 '................'
00000020: 0000 0000 '.... '


MQGET of message number 2
****Message descriptor****

StrucId : 'MD ' Version : 2
Report : 0 MsgType : 2
Expiry : -1 Feedback : 0
Encoding : 546 CodedCharSetId : 437
Format : 'MQADMIN '
Priority : 0 Persistence : 0
MsgId : X'414D5120514D4A3732304244312020204C8FDE422000E301'
CorrelId : X'414D5120514D4A3732304244312020204C8FDE422000D801'
BackoutCount : 0
ReplyToQ : ' '
ReplyToQMgr : 'QMJ720BD1 '
** Identity Context
UserIdentifier : 'wbrkuser '
AccountingToken :
X'160105150000005729024C78006D1F43170A32FD03000000000000000000000B'
ApplIdentityData : ' '
** Origin Context
PutApplType : '11'
PutApplName : 'ebSphere MQ\bin\AMQPCSEA.EXE'
PutDate : '20050721' PutTime : '01253422'
ApplOriginData : ' '

GroupId : X'000000000000000000000000000000000000000000000000'
MsgSeqNumber : '1'
Offset : '0'
MsgFlags : '0'
OriginalLength : '-1'

**** Message ****

length - 36 bytes

00000000: 0200 0000 2400 0000 0100 0000 0800 0000 '....$...........'
00000010: 0100 0000 0100 0000 0000 0000 0000 0000 '................'
00000020: 0000 0000 '.... '



No more messages
MQCLOSE
MQDISC
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jul 20, 2005 5:43 pm Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Hee's the break-down of your reply message:

0200 0000 Type = MQCFT_RESPONSE
2400 0000 StrucLength = 36
0100 0000 Version = 1
0800 0000 Command = MQCMD_CHANGE_Q
0100 0000 MsgSeqNumber = 1
0100 0000 Control = MQCFC_LAST
0000 0000 CompCode = MQCC_OK
0000 0000 reason = MQRC_NONE
0000 0000 ParmCount = 0

So it look like the command worked. Are you sure that it didn't work?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
wschutz
PostPosted: Wed Jul 20, 2005 5:52 pm Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

By the way, I coded this to convert the PCF response back into an xml message:
Code:

CREATE COMPUTE MODULE Covert_Pcf_to_XML
   CREATE FUNCTION Main() RETURNS BOOLEAN
   BEGIN
      
      CALL CopyMessageHeaders();
      
      DECLARE creationPtr REFERENCE TO OutputRoot;
      CREATE LASTCHILD OF creationPtr DOMAIN('MQPCF') PARSE(InputRoot.BLOB.BLOB, InputProperties.Encoding,
 InputProperties.CodedCharSetId);
 
          set OutputRoot.XML.PCFCMD.ReturnCode = creationPtr.MQPCF.Reason;
        set OutputRoot.XML.PCFCMD.CompCode = creationPtr.MQPCF.CompCode;
   
         set OutputRoot.MQPCF = null;
         
         set OutputRoot.MQMD.Format = MQFMT_STRING;

            
      RETURN TRUE;
   END;

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shediiwork
PostPosted: Wed Jul 20, 2005 6:54 pm Post subject: Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

That was helpful but where do I find out what ReturnCode 3008 or 3014 and CompCode 2 is define.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Jul 21, 2005 2:44 am Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

/opt/mqm/inc/cmqcfc.h: #define MQRCCF_COMMAND_FAILED 3008
/opt/mqm/inc/cmqcfc.h: #define MQRCCF_CFIN_PARM_ID_ERROR 3014
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
wschutz
PostPosted: Thu Jul 21, 2005 6:30 am Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I have no idea why you are getting the 3014. It works fine on my MQ V5.3 CSD 9 Win2k system (ie, I can GET(DISABLE) the queue).

The only thing that looks odd is your message to the command server shows:
Quote:
00000070: 0300 0000 1000 0000 0900 0000 0000 0000 '........ .......'


But your esql shows:
Quote:
SET refRequest.Parameter[3] = MQIA_INHIBIT_GET;
SET refRequest.Parameter[3].* = 1;

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shediiwork
PostPosted: Thu Jul 21, 2005 10:36 am Post subject: SOLUTION Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

I got it working. Thanks Wayne, Jeff, Eddie for the help. For the benefit of all who may need to format a PCF message in ESQL.

/*****************************
* Assembles PCF command to inhibit GET's from a queue.
*
*/
CALL CopyMessageHeaders();
/* PCF header is following the MQMD header. */
--SET OutputRoot.MQMD.Encoding = 546; -- need remember 273 is unix
SET OutputRoot.Properties.Encoding = 546;

SET OutputRoot.MQMD.MsgType = MQMT_REQUEST;
SET OutputRoot.MQMD.Format = MQFMT_ADMIN;
SET OutputRoot.MQMD.ReplyToQ = 'FINANCIAL.RESP.CONTROL';
SET OutputRoot.MQMD.MsgSeqNumber = 1;

/* Command is 'Change Queue: Inhibit GET from queue'. */
CREATE FIELD OutputRoot.MQPCF;
DECLARE refRequest REFERENCE TO OutputRoot.MQPCF;
SET refRequest.Type = MQCFT_COMMAND;
SET refRequest.StrucLength = MQCFH_STRUC_LENGTH;
SET refRequest.Version = MQCFH_CURRENT_VERSION;
SET refRequest.Command = MQCMD_CHANGE_Q;
SET refRequest.MsgSeqNumber = 1;
SET refRequest.Control = MQCFC_LAST;


/* First parameter: Queue Name. */
SET refRequest.Parameter[1] = MQCA_Q_NAME;
SET refRequest.Parameter[1].* ='QL.BRKJX01.MPTSTP.DIFMS.MS475D01.IN.JX';


/* Second parameter: Queue Type. */
SET refRequest.Parameter[2] = MQIA_Q_TYPE;
SET refRequest.Parameter[2].* = MQQT_LOCAL;

/* Third parameter: Allow/Inhibit GET.*/
SET refRequest.Parameter[3] = MQIA_INHIBIT_GET;
SET refRequest.Parameter[3].* = MQQA_GET_INHIBITED;

set OutputRoot.BLOB.BLOB = asbitstream(OutputRoot.MQPCF);
set OutputRoot.MQPCF = null;
set OutputRoot.MQRFH2 = null;
SET OutputRoot.MQMD.Format = MQFMT_ADMIN;
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Jul 21, 2005 10:38 am Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

What did you change from last night (when it was giving you the 3014 error)??
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shediiwork
PostPosted: Thu Jul 21, 2005 11:23 am Post subject: Reply with quote

Acolyte

Joined: 07 Jun 2005
Posts: 52

late night:
SET refRequest.Parameter[3] = MQIA_INHIBIT_GET;
SET refRequest.Parameter[3].* = 1;

this morning:
SET refRequest.Parameter[3] = MQIA_INHIBIT_GET;
SET refRequest.Parameter[3].* = MQQA_GET_INHIBITED;

The second parameter clued me in:
/* Second parameter: Queue Type. */
SET refRequest.Parameter[2] = MQIA_Q_TYPE;
SET refRequest.Parameter[2].* = MQQT_LOCAL;

So I RTFM. Thanks again
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2, 3, 4, 5  Next Page 3 of 5

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportInvalid Parser Seq Error from PCF Command
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.