transforms data from a IBM DB2 database to test output