Describe the bug
This is because when strict_integral_precision = true integral fields become decimal.
Nothing prevents from using decimals for record length, especially when scale=0.
Originally described here: #750
Code snippet that caused the issue
--
Expected behavior
Record length fields should work with decimal fields.
Context
Copybook
01 RECORD.
05 REC-LEN PIC S9(4).