Skip to content

← The Mainframe route

Free tool

COBOL Field Decoder

One stored number. Two ways to read it. On a $1,000 balance, one reading charges $2.92 of interest a month and the other charges $291.67. The code can't tell you which is right. Paste your own below.

Try one

The picture clause tells you where the point goes. It never tells you what the number means.

In Exhibit A, a made-up banking program divides a rate by twelve and never by one hundred. Both readings run and both pass a test written from the code. Only the data the business actually stored can settle it, so that is where every Survey starts.

Found a field with two readings? See the exhibits