Source Code to Export Tax Rate Data

Module T1520IC4 is used to create service program T1520SP2.
Figure 1. T1520IC4 — ILE C Source to Export Tax Rate Data
          /* Export the tax rate data.                                          */
          #include <decimal.h>
          const decimal (2,2)   taxrate = .15D;
Note: Because it is coded in a separate module, the data item taxrate can be imported by both or either of the following:
  • The calc_and_format function in service program T1520IC2
  • The write_audit_trail in T1520IC3.