The legacy enterprise programming language whose packed-decimal COMP-3 fields require preservation of decimal precision…