How to perform SQL on the MAPICS II IMHIST history file

How to perform SQL on the MAPICS II IMHIST history file

Have you migrated your S36 MAPICS II files to native IBM i DB2 tables but kept the old MAPICS definitions and need to be able to do arithmetic in SQL on the malformed transaction quantity fields? The IBM MAPICS (Manufacturing, Accounting and Production Information...