Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by FireStarter1

  1. FireStarter1

    CRC in COBOL

    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.
  2. FireStarter1

    Double Convesion.

    Hi, I have hours to find a fix. But my question is if we need to do the resampling(whatever this means) what should I do.
  3. FireStarter1

    C Program Logic

    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...
  4. FireStarter1

    Double Convesion.

    I tried it. Still not working.
  5. FireStarter1

    Double Convesion.

    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++...
  6. FireStarter1

    C Program Logic

    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...
  7. FireStarter1

    C Program Logic

    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...
  8. FireStarter1

    Double Convesion.

    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...
  9. FireStarter1

    CRC in COBOL

    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...
  10. FireStarter1

    CRC in COBOL

    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...
  11. FireStarter1

    CRC in COBOL

    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...
  12. FireStarter1

    CRC in COBOL

    I tried all in my arsenel and failed. Looks like the whole XOR logic is wrong.
  13. FireStarter1

    CRC in COBOL

    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.
  14. FireStarter1

    CRC in COBOL

    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.
  15. FireStarter1

    CRC in COBOL

    I missed to tell this. Even if there is going to be a C implementation, I personly want to do this COBOL so I am looking at the changes you told.

Part and Inventory Search

Back
Top