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 Index » WebSphere Message Broker (ACE) Support » Not all the buffer was used when reading message

Post new topic  Reply to topic
 Not all the buffer was used when reading message « View previous topic :: View next topic » 
Author Message
rohang
PostPosted: Mon Jan 06, 2014 7:40 am    Post subject: Not all the buffer was used when reading message Reply with quote

Newbie

Joined: 06 Jan 2014
Posts: 1

Hi,
I am using WMB 7. I am trying to parse the following message.
æP:
:P001:789
:P002:PP101
:P010:201311200648
:P026:OF
:P027:EXDCSM
:P028:UBN
:P030:F
:P051:SDC47304730963721168411109175412
:P052:SDC47304730963721168411109175412
:P053:SDC47304730963721168411109175412
:P055:7990NOO00090558
:P056:DNBA131109P03724
:P080:7990K
:P082:789
:P088:NO4047301097944
:P090:HåKON BIRGER ØVERLAND
:P091:KILAÃ¥SEN 8
9415 HARSTAD
:P092:HASBNO21XXX
:P093:HARSTAD SPAREBANK
:P094:2, RIK. KAARBOSPLASS
:P096:4730
:P099:17066837572
:P100:47301097944
:P150:20131111
:P152:20131111
:P153:20131113
:P180:GB
:P182:NO
:P200:MR K P WETTNER
:P201:Lloyds Bank
1 Silver street, Enfield
Middlesex England EN1 3EE
:P202:GB
:P205:GB24LOYD30998604990838
:P250:Villa 1114957 Cabo Roig. From Mr. H
åkon Øverland, NORWAY
:P300:1483,29
:P302:GBP
:P303:GBP
:P304:1483,29
:P305:1483,29
:P310:14620,79
:P311:14620,79
:P312:NOK
:P320:14620,79
:P330:50,
:P331:NOK
:P332:50,
:P333:NOK
:P334:50,
:P335:50,
:P336:0,
:P340:0,
:P342:0,
:P350:SHA
:P360:47301097944
:P361:B
:P370:9,857
:P371:M
:P400:LOYDGB21043
:P401:LLOYDS BANK PLC
:P402:(SILVER STREET ENFIELD-309986)
1, SILVER STREET
:P403:SC
:P404:309986
:P420:LOYDGB2LXXX
:P421:SC
:P422:309634
:P424:LLOYDS BANK PLC
(U.K. INTERNATIONAL SERVICES)
11-15, MONUMENT STREET
:P470:70015931521
:P496:N
:P510:LOYDGB2LXXX
:P512:LLOYDS BANK PLC
(U.K. INTERNATIONAL SERVICES)
11-15, MONUMENT STREET
:P540:N
:P570:S
:P590:N
:P620:B
:P700:N
:P730:D
:P732:870459
:P735:14403,58
:P736:NOK
:P800:PSD
:P801:Qualified for PSD
:P810:789
Ã¥

The following message set properties have been declared.
Group Indicator
æP:<CR><LF>

Group Terminator
<CR><LF>Ã¥

Delimiter
<CR><LF>

The message parsing fails when 'Ã¥' symbol is encountered at the start of a line in the middle of the message. (In this case in line 38 of the message) .

Can someone please tell me how to include the sysmbol 'Ã¥' , when it is used as the group terminator . Thanks in advance
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Jan 06, 2014 8:18 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You need to specify the terminator using a TDS 'mnemonic' that quotes the exact Unicode character number for å . See http://pic.dhe.ibm.com/infocenter/wmbhelp/v8r0m0/topic/com.ibm.etools.mft.doc/ad09850_.htm
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jan 07, 2014 5:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kimbert wrote:
You need to specify the terminator using a TDS 'mnemonic' that quotes the exact Unicode character number for å . See http://pic.dhe.ibm.com/infocenter/wmbhelp/v8r0m0/topic/com.ibm.etools.mft.doc/ad09850_.htm

Seems to me that the group terminator would really be something like
<CR><LF>Ã¥ <CR><LF> which would skip
<CR><LF>Ã¥kon as group terminator...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Not all the buffer was used when reading message
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.