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 » Integer Field value is not coming for CWF Format

Post new topic  Reply to topic
 Integer Field value is not coming for CWF Format « View previous topic :: View next topic » 
Author Message
udaya_isampalli
PostPosted: Sat Nov 21, 2009 7:23 pm    Post subject: Integer Field value is not coming for CWF Format Reply with quote

Novice

Joined: 09 Feb 2007
Posts: 13

Hello,
I have created message set with xml and cwf properties defined. I am using message set and xml format to read input message and want to use same message set with cwf format for output. For the same message i just want to see the format change so in compute node i have copied
outputRoot = InputRoot and modifed the message format value to CWF. i have one integer field in my message. it is declared as Integer type with Length units is 'Bytes" and Length is 4.
I have not defined any other properties. in my output i am getting all the values except for integer field. (it was not even set to signed)
At the place of this field i am getting as ''.
Please let me know if i need to set any other properties.

regards
IU
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Nov 22, 2009 1:24 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What version of broker are you using? If it is 6.1, I'd probably put a trace node after the compute node and set the output to ${Root}.
Then I'd take (& format) a user trace of your message as it passes through the flow. With 6.1, there is a lot more detail about what is going on in the parser in the user trace output. IF there are some errors or informational messages in the trace, please post them here.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
udaya_isampalli
PostPosted: Sun Nov 22, 2009 9:53 am    Post subject: Reply with quote

Novice

Joined: 09 Feb 2007
Posts: 13

Hi thank you.
From trace i found out that integer value is getting passed but while message on queue either it was showing differently or it getting encoded.

following is my trace.
(0x01000000:Name ):MQMD = ( ['MQHMD' : 0x93f1f58]
(0x03000000:NameValue):SourceQueue = 'IN' (CHARACTER)
(0x03000000:NameValue):Transactional = TRUE (BOOLEAN)
(0x03000000:NameValue):Encoding = 546 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 437 (INTEGER)
(0x03000000:NameValue):Format = ' ' (CHARACTER)
(0x03000000:NameValue):Version = 2 (INTEGER)
(0x03000000:NameValue):Report = 0 (INTEGER)
(0x03000000:NameValue):MsgType = 8 (INTEGER)
(0x03000000:NameValue):Expiry = -1 (INTEGER)
(0x03000000:NameValue):Feedback = 0 (INTEGER)
(0x03000000:NameValue):Priority = 0 (INTEGER)
(0x03000000:NameValue):Persistence = 0 (INTEGER)
(0x03000000:NameValue):MsgId = X'414d512042524b514d20202020202020ab4c094b2000250f' (BLOB)
(0x03000000:NameValue):CorrelId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000:NameValue):BackoutCount = 0 (INTEGER)
(0x03000000:NameValue):ReplyToQ = ' ' (CHARACTER)
(0x03000000:NameValue):ReplyToQMgr = 'BRKQM ' (CHARACTER)
(0x03000000:NameValue):UserIdentifier = 'wbiuser ' (CHARACTER)
(0x03000000:NameValue):AccountingToken = X'160105150000000d09ae7d5ad13bfca2c9167bf003000000000000000000000b' (BLOB)
(0x03000000:NameValue):ApplIdentityData = ' ' (CHARACTER)
(0x03000000:NameValue):PutApplType = 11 (INTEGER)
(0x03000000:NameValue):PutApplName = ':\Softwares\ih03\rfhutil.exe' (CHARACTER)
(0x03000000:NameValue):PutDate = DATE '2009-11-22' (DATE)
(0x03000000:NameValue):PutTime = GMTTIME '17:40:45.580' (GMTTIME)
(0x03000000:NameValue):ApplOriginData = ' ' (CHARACTER)
(0x03000000:NameValue):GroupId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000:NameValue):MsgSeqNumber = 1 (INTEGER)
(0x03000000:NameValue):Offset = 0 (INTEGER)
(0x03000000:NameValue):MsgFlags = 0 (INTEGER)
(0x03000000:NameValue):OriginalLength = -1 (INTEGER)
)
(0x01000021:Name+):MRM = ( ['mrm' : 0x940b698]
(0x0300000B:NameValue+):SNo = '123ABC' (CHARACTER)
(0x0300000B:NameValue+):SName = 'ABC' (CHARACTER)
(0x0300000B:NameValue+):SAge = '34' (CHARACTER)
(0x01000013:Name+ ):Marks = (
(0x0300000B:NameValue+):Mark1 = '12' (CHARACTER)
(0x0300000B:NameValue+):Mark2 = 34 (INTEGER)

the out is looking as follows

00000000 123ABC ABC 34 12
00000032 "...

Please provide your inputs

regards
IU
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Nov 22, 2009 12:32 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

A CWF Integer field is not in a human-readable format. You cannot tell whether the output message is correct without looking at the raw bytes.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Nov 22, 2009 2:17 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

34 (decimal) == 22 (Hex) == " (asciii)
using

http://www.dolcevie.com/js/converter.html
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » WebSphere Message Broker (ACE) Support » Integer Field value is not coming for CWF Format
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.