Author |
Message
|
kiran26 |
Posted: Wed Sep 18, 2002 2:59 pm Post subject: 2110 Reason Code problem. |
|
|
Acolyte
Joined: 06 Feb 2002 Posts: 69
|
Hi,
I am having a message flow which will put messages to a Remote queue on NT box and it is local a queue AS/400. My message flow is not able to send messages to the AS/400 queue....messages r coming back and going into NT system's DEAD-LETTER QUEUE. When i look into the messages in the SDQ , the reason code is 2110. It tells that the message format of the message is worng.Can any one suggest me about this problem.My message format which i am sending is MQSTR.
Thanks
vishnu |
|
Back to top |
|
 |
kirani |
Posted: Wed Sep 18, 2002 3:14 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Vishnu,
Do you have Convert option set in your MQInput node? What is the MQMD.Format field set to in your input message? It should be set to 'MQSTR '(see 3 blank spaces towards the end of the text). Make sure your application is setting correct value in this field.
Try attaching a trace node to the catch terminal of your MQInput node and print ${ExceptionList} in it, write the trace output to some file. Next time when you get this error, see if you can get more info in the ExceptionList. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
kiran26 |
Posted: Wed Sep 18, 2002 3:38 pm Post subject: |
|
|
Acolyte
Joined: 06 Feb 2002 Posts: 69
|
Hi Kiran,
I did not checked CONVERT option on MQInput Node.But my message format is in MQSTR.Everything was working fine till yesterday.....but from today it started giving problem.No exception is rising in the message flow...so i think i can't catch any exception.Can u suggest me more on this..........
thanks |
|
Back to top |
|
 |
kiran26 |
Posted: Wed Sep 18, 2002 3:47 pm Post subject: |
|
|
Acolyte
Joined: 06 Feb 2002 Posts: 69
|
Hi Kiran,
Here is the trace which i take for single message.I have kept the trace node before the MQOutput Node. Message is going to the AS/400 queue and coming back to NT's System.Dead.Letter queue.Can u look into it.
thanks |
|
Back to top |
|
 |
kiran26 |
Posted: Wed Sep 18, 2002 3:49 pm Post subject: |
|
|
Acolyte
Joined: 06 Feb 2002 Posts: 69
|
Sorry kiran here is the trace,
(
(0x1000000)Properties = (
(0x3000000)MessageSet = ''
(0x3000000)MessageType = ''
(0x3000000)MessageFormat = ''
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Transactional = TRUE
(0x3000000)Persistence = FALSE
(0x3000000)CreationTime = GMTTIMESTAMP '2002-09-19 00:10:45.640'
(0x3000000)ExpirationTime = -1
(0x3000000)Priority = 0
(0x3000000)ReplyIdentifier = X'30392d31382d3230303231373a31303a3435383335352020'
(0x3000000)ReplyProtocol = 'MQ'
(0x3000000)Topic = NULL
)
(0x1000000)MQMD = (
(0x3000000)SourceQueue = 'WOL.TRANS.IN.01'
(0x3000000)Transactional = TRUE
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Format = 'MQSTR '
(0x3000000)Version = 2
(0x3000000)Report = 0
(0x3000000)MsgType = 8
(0x3000000)Expiry = -1
(0x3000000)Feedback = 333
(0x3000000)Priority = 0
(0x3000000)Persistence = 0
(0x3000000)MsgId = X'30392d31382d3230303231373a31303a3435383335352020'
(0x3000000)CorrelId = X'30392d31382d3230303231373a31303a3435383335352020'
(0x3000000)BackoutCount = 0
(0x3000000)ReplyToQ = ' '
(0x3000000)ReplyToQMgr = 'QM_LOCAL '
(0x3000000)UserIdentifier = 'sramanng '
(0x3000000)AccountingToken = X'16010515000000d0688d7fd323b0130f33144289f4000000000000000000000b'
(0x3000000)ApplIdentityData = ' '
(0x3000000)PutApplType = 11
(0x3000000)PutApplName = 'les\Strings\Flex_Tran_MQ.exe'
(0x3000000)PutDate = DATE '2002-09-19'
(0x3000000)PutTime = GMTTIME '00:10:45.640'
(0x3000000)ApplOriginData = ' '
(0x3000000)GroupId = X'414d5120514d5f4c4f43414c2020202024fa853d22a01000'
(0x3000000)MsgSeqNumber = 1
(0x3000000)Offset = 0
(0x3000000)MsgFlags = 8
(0x3000000)OriginalLength = -1
)
(0x1000010)XML = (
(0x5000018)XML = (
(0x6000011) = '1.0'
(0x6000012) = 'UTF-8'
)
(0x1000000)Account = (
(0x3000000)xmlns:excel = 'urn:schemas-microsoft-com:office:spreadsheet'
(0x3000000)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance'
(0x1000000)ExternalAccountNumber = (
(0x2000000) = '92-005-07034-3'
)
(0x1000000)ClientNumber = (
(0x2000000) = '00001'
)
(0x1000000)Date = (
(0x2000000) = '20080201'
)
(0x1000000)NumberType = (
(0x2000000) = '00101'
)
(0x1000000)TranData = (
(0x1000000)TransactionAmount = (
(0x2000000) = '197392'
)
(0x1000000)Number = (
(0x2000000) = '22'
)
)
)
(0x6000002) = ' '
) |
|
Back to top |
|
 |
kirani |
Posted: Wed Sep 18, 2002 4:47 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Do you have any programming running on AIX box, which is listening to the local queue and trying to use MQGMO_CONVERT option on MQGET call? Your reason code is complaining about MQMD.Format, in your output message MQMD.Format is set to 'MQSTR ', which is not 8 char long (without ''). In your compute node, use this esql to set format:
Code: |
SET OutputRoot.MQMD.Format = MQFMT_STRING;
|
I also see that MQMD.Feedback is set to 333. Is that normal? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
kiran26 |
Posted: Wed Sep 18, 2002 4:59 pm Post subject: |
|
|
Acolyte
Joined: 06 Feb 2002 Posts: 69
|
Hi Kiran,
I am sending failure and good messages to same queue.For failures messages i am setting feedback as 333.By changing the conversion on the channel to NO it works. Now i am able to send messages to as/400 side because of changing the conversion option to NO.
Can u tell me why messages are going to as/400 side.
thanks |
|
Back to top |
|
 |
kirani |
Posted: Wed Sep 18, 2002 5:09 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Have you tried changing your ESQL code to set correct value in MQMD.Format field? What happens if your MQMD.Format is set to MQSTRbbb where b is ' ' (space char), and Convert option on the channel is set to YES? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
kiran26 |
Posted: Thu Sep 19, 2002 7:01 am Post subject: |
|
|
Acolyte
Joined: 06 Feb 2002 Posts: 69
|
Hi Kiran,
When i look into the trace my MQMD.FORMAT looks correct only with spaces.Here how it looks in the trace
(0x3000000)Format = 'MQSTR ' .
Any how i will try once again by setting the MQMD.FORMAT in my esql.
Thanks |
|
Back to top |
|
 |
kiran26 |
Posted: Thu Sep 19, 2002 7:15 am Post subject: |
|
|
Acolyte
Joined: 06 Feb 2002 Posts: 69
|
Hi Kiran,
Now i am setting MQMD.FORMAT='MQSTRbbb' and changed the channel conversion to YES. Still they r going to SYSTEM.DEAD.LETTER.QUEUE. If i changeback the conversion to NO....then messages r going to AS/400 queue.Can u suggest me on this..............
thanks
sashi |
|
Back to top |
|
 |
kirani |
Posted: Thu Sep 19, 2002 9:16 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
sashi,
Since you are also writing Failed messages to the same output queue (as/400), I am suspecting that your input messages do not have proper value set in MQMD.Format. To confirm this could you try writing failed messages to another queue (failure queue) and then check what are the values set in MQMD header for those messages? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|