I need to extract, transform, and load a file from Mainframe (MVS) into two tables in DB2. There are 200 million records at the source. Each record contains header information in the first 440 bytes, and 1 to 106 detail records in the remaining bytes of each source record. I need a tool that will split the source record into its component records for DB2, which can then be loaded by invoking the db2 LOAD command.
Ideally, it would be a program that would take two inputs, the data file and a COBOL definition file (copybook), and its output would be a named pipe, which could then be referenced by the LOAD utility.
I can spend thousands on the right tool, but not tens of thousands. I know I could do this with something like C++, but I don't have time for the learning curve. Can anyone help?
Solutions that use the least amount of drive space are preferred, because disk space in my environment costs $300 per gig (no that is not a misprint).
Thanks,
Jim
--Forgive the fool for he knows not what he asks