Focal Point
[SOLVED] Converting Mainframe Flat file into Mainframe DB2 table

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2687088495

December 06, 2010, 12:02 PM
WFLurker
[SOLVED] Converting Mainframe Flat file into Mainframe DB2 table
Our group is looking to change the format of our monthly tables from COMT flat file to mainframe DB2 table next year.

The current process is we get 3 seperate monthly COMT flat file and we append it into 1 flatfile with 45Million records.

I'm no DBA or DB2 expert but before I proceed any further with this, I got a couple of questions.

*any additional lines required in
the jcl
DB2.DBGC.LOAD.AUTH??
DB2.DBGC.RUNLIB.LOAD???

*is it as simple as
ON TABLE HOLD AS BLAH FORMAT DB2 ??
in the focexec ?

*Do we have to convert the dates in
the flatfile to a DB2 date format?
Currently its A6/YYM

Would converting to DB2 format speed up the process when we Aggregrate into summary tables?

Please advice,

Thanks,

This message has been edited. Last edited by: Kerry,


WF 8105M
- Portal, Dashboard
- Rcaster, Data Migrator
- Windows 2012 Client Server
- Dev/App Studio 8105
- Data: SQL, Oracle, Neteeza,MVS
December 06, 2010, 04:02 PM
Waz
As far as I can remember, if you use ON TABLE HOLD FORMAT DB2, it will create the table in the temporary table space.

I am surprised that you are not using a DB2 utility to load the table.

The dates, can be stored in what ever format you want. The question is, what will be resing them, and how will it be used.

The conversion to DB2 will probably speed up aggregation, but may rely on the design of the table, indexes and such. It very much depends on the process for aggregation.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

December 07, 2010, 08:54 AM
WFLurker
I will get in contact with a DBA regarding DB2 utility to load the tables

Thanks again Waz!!


WF 8105M
- Portal, Dashboard
- Rcaster, Data Migrator
- Windows 2012 Client Server
- Dev/App Studio 8105
- Data: SQL, Oracle, Neteeza,MVS