Problem:
When using arithmetic syntax and the results are not the same as the mainframe. How can I get the results to be the same.
Resolution:
The ARITHMETIC compiler directive specifies how arithmetic expressions are to be evaluated.
Setting the ARITHMETIC compiler directive to "MF", which is the default, will not truncate intermediate results. This means that the calculation is as accurately as possible because no trunction is taken place until the very end.
If you want to truncate according to OSVS COBOL, then set the ARITHMETIC="OSVS"
