[Migrated content. Thread originally posted on 03 February 2010]
I need to find a routine for calculating a two character checksum for a communications interface that I need to write. I have downloaded some "C" code examples, but since "C" is not a language that I'm real strong in, I'm having difficulty getting it to work.What I've tried so far is to put the "C" code in a DLL library that I can call, but I'm not even sure I did that right. I'm hoping that someone either knows of an API call or has written something in Cobol already that would simplifiy this.
I need to be able to take a variable length data block and perform a CRC calculation against it to validate the information received, plus to be able to create one for transmission.
Thanks in advance,
Steve.



