Skip to main content

Problem:

How can I compute the 32-bit CRC sum check within an RM/COBOL program?

Resolution:

See the attached source code example.

Attachments:

crc32.zip

Old KB# 4677

Problem:

How can I compute the 32-bit CRC sum check within an RM/COBOL program?

Resolution:

See the attached source code example.

Attachments:

crc32.zip

Old KB# 4677

This code contains two large tables -  XOR and XTAB used in the CRC calculation.   How were these values generated and validated?   We have implemented the code and are testing the CRCs produced and so far they are working.   Is this code known to be correct?  Which CRC-32 algorithm does it implement?