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) SupportFIX Checksum and message bodylength (FIX tags 9 and 10) calc

Post new topicReply to topic
FIX Checksum and message bodylength (FIX tags 9 and 10) calc View previous topic :: View next topic
Author Message
j1
PostPosted: Mon Jul 18, 2011 1:41 pm Post subject: FIX Checksum and message bodylength (FIX tags 9 and 10) calc Reply with quote

Centurion

Joined: 23 Jun 2003
Posts: 139

Hi, How do we calculate Checksum and message bodylength (FIX tags 9 and 10) in mssage broker. Since this is a generic issue, Im thinking there is probably some kind of generic solution,, such as a resusable node or code snippet for it? many thanks
Back to top
View user's profile Send private message
Ric-Tic
PostPosted: Tue Jul 19, 2011 10:37 am Post subject: Re: FIX Checksum and message bodylength (FIX tags 9 and 10) Reply with quote

Apprentice

Joined: 18 Nov 2003
Posts: 38
Location: Zurich, Switzerland

j1 wrote:
Hi, How do we calculate Checksum and message bodylength (FIX tags 9 and 10) in mssage broker. Since this is a generic issue, Im thinking there is probably some kind of generic solution,, such as a resusable node or code snippet for it? many thanks


You mean BodyLength(9) and CheckSum(10)
You calculate it the same way as in any other language. From the FIX spec:

Quote:
The record length is indicated in the BodyLength field and is verified by counting the number of
characters in the message following the BodyLength field up to, and including, the delimiter
immediately preceding the CheckSum tag (“10=”).
The CheckSum integrity check is calculated by summing the binary value of each character from the
“8” of “8=“ up to and including the <SOH> character immediately preceding the CheckSum tag field
and comparing the least significant eight bits of the calculated value to the CheckSum value
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportFIX Checksum and message bodylength (FIX tags 9 and 10) calc
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.