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 » General IBM MQ Support » processing Low values in Middle of Payload

Post new topic  Reply to topic
 processing Low values in Middle of Payload « View previous topic :: View next topic » 
Author Message
MarkAT
PostPosted: Wed Feb 01, 2006 9:00 am    Post subject: processing Low values in Middle of Payload Reply with quote

Newbie

Joined: 01 Feb 2006
Posts: 3
Location: Edinburgh

Hi, We've got a problem with low values in the body of MQSI messages. (As sent by Swift)

We’re running in the BLOB message domain under WMQI 2.1 CSD3.

We’re trying to capture the message payload (in order to insert it into a CLOB field on an Oracle database) using the following command:

set PayloadBlob = asbitstream(InputBody);

The asbitstream command stops at the first of these low values and we lose the second half of the payload.

I've tried to get round this by using the payload directly via

CAST(InputBody AS CHAR CCSID InputRoot.Properties.CodedCharSetId)

but get an Invalid Wire Format Identifier error with this approach.

Anyone know how to capture the whole payload including the low values ?


An example of the payload data is given below

InputBody------------------- Hex equivalent

{1:F01ST NDGB2SAX 7B313A46 30315354 4E444742 32534158

XX192545 9554}{2: 58583139 32353435 39353534 7D7B323A

O9500719 021211HS 4F393530 30373139 30323132 31314853

BCHKHIAX XX 622835 4243484B 48494158 58583632 32383335

16960212 110008N} 31363936 30323132 31313030 30384E7D

{3:{108: 34503619 7B333A7B 3130383A 33343530 33363139

4}}{4:.. :20:9500 47D7D7B 343A0D0A 3A32303A 39353030

10515903 2724..:2 31303531 35393033 32373234 0D0A3A32

5:108097 13..:28C 353A3130 38303937 31330D0A 3A323843

:112../1 ......:6 3A313132 00002F31 00000000 0D0A3A36

0F:C0506 07GBP142 30463A43 30353036 30374742 50313432

5110,31. .:61:050 35313130 2C33310D 0A3A3631 3A303530

6070607C P200NCLR 36303730 36303743 50323030 4E434C52

NONREF// 9990704. 4E4F4E52 45462F2F 39393930 37303400

........ ........ 00000000 00000000 00000000 00000000

..../PT/ DE/EI/10 00000D0A 2F50542F 44452F45 492F3130

809713.. :62F:C05 38303937 31330D0A 3A363246 3A433035

0606GBP1 425310,3 30363036 47425031 34323533 31302C33

1..:64:C 050606GB 310D0A3A 36343A43 30353036 30364742

P1425110 ,31..-}{ 50313432 35313130 2C33310D 0A2D7D7B

..Block 5:..{CHK 0D0A426C 6F636B20 353A0D0A 7B43484B

:6398BB6 E47E8} 3A363339 38424236 45343745 387D


The content of PayloadBlob stops after 28C:112
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 01, 2006 9:02 am    Post subject: Re: processing Low values in Middle of Payload Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MarkAT wrote:
The asbitstream command stops at the first of these low values and we lose the second half of the payload.


How do you know? What are you using to report the contents of this field?

Also, why did you not post this question in the WMQI/WBIMB forum?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MarkAT
PostPosted: Thu Feb 02, 2006 2:10 am    Post subject: Reply with quote

Newbie

Joined: 01 Feb 2006
Posts: 3
Location: Edinburgh

Hi, I picked the values out of the trace.

On closer inspection it is the Cast to CHAR that is causing the problem. I've now created this as a new topic in the WMQI/WBIMB forum and will consider this one closed.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » processing Low values in Middle of Payload
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.