OK, the working MVS version (see below) was a better starting point. I’m getting a single error.
000132 05 AMT-BR COLUMN 95 PIC $$$,$$$,$$9.99 SUM AMT-SAL.
error: 'AMT-SAL' is not defined
000133 01 TYPE CF SALESMAN-NUMBER LINE PLUS 1.
000134 05 LINE NUMBER IS PLUS 1.
000135 10 AMT-SAL COLUMN 79 PIC $$$,$$9.99 SUM AMOUNT.
000136 01 TYPE CONTROL FOOTING FINAL LINE PLUS 2.
000137 05 COLUMN 86 PIC X(05) VALUE 'TOTAL'.
000138 05 COLUMN 95 PIC $$$,$$$,$$9.99 SUM AMT-BR.
However, as you can see, it is defined at the very next section below it.
I double checked my run-book that has that program, from 1977.
There are similar statements that were not flagged
I really hoped it would work because I don’t have much of a desire to dive back into the Report Writer. But this may be useful… if I do.