Hi Tom,
Thanks a lot for adding the code in your company site. This is really helpful for anyone who want it.
I am kinda in long vacation. I mean out of job, but having fun playing around with couple of application which I am working on personally.
Thanks again.
I think C and all other curly-bracketed disasters were made by some narrow minded computer nerds who don't want the majority of the world to understand what computer programming is.
Then there are those who want the world to understand everything and help the world of computing to be better and...
I tried the EBCDIC to ASCII conversion before but it did not worked.
I believe the bits dedicated to Mantissa is 52. 1 bit for the sign and 11 for the exponent.
Looks like the viewer is shuffling the bits around or does some sort of conversion. As I am a cobol programmer I don't know how C++...
Good Remark,
We COBOL programmers have proven to the world that what we make are here to stay a long time back and now the IT world is just living what we made. The only problem is we don't appreciate hype, so the hype makers show off a lot, their products and programs don't work and many lost...
Hi,
It all started from here so let me end it here. For the above question xwb gave me and Tom Morrison a logic. Making that logic as a foundation we developed a program that calculates CRC-CCITT. There is a lot of controversy about CRC-CCITT but we achieved what we wanted. My special thanks to...
It may confuse people a bit, but read carefully.
I am a Cobol Programmer developing an application on the Mainframe. My project is formatting records in a file that is going to be FTPed to Workstation. There was an application that was doing everything on the workstation but right now as it is...
Hi Tom,
I agree that there is a lot of controversy over the right CRC calculation. But I've had no other option but to do exactly what the C code is doing. I will be a very nice Idea to post the tables and the program in your website as that will help people to learn more about these sort of...
In my free time I do write poetry. But this is a time in which I can't find enough words to Thank Tom Morrison. He helped me to finish my project, he wrote the whole program by himself. He did not just finish this project he actually saved my career. Thanks a lot Tom.
Here is the actual program...
Hi,
The program given above is working well. My requirement is for CRC-16-CCITT.
Tom I tried the program you gave me on the mainframe and it is not calculating the CRC right. I tried all I can but I don't know what is going wrong with the calculation. Can you please help me fix this problem...
I forgot to put this in the earlier message.
This is the result I am getting when I am using your code.
CRC mismatch in record 1: FILE: 19023 CALC: 20298
The CRC in the FILE and the CALC should be equal.
Hi Tom,
Your logic is calculating the CRC lower. I added more ADD lines after the XOR and it is still not equal to the ones the C application is calculating. Anyway I may be able to get another day or two during a meeting tomorrow.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.