Hi All,
I am working on Deltek COBOL base database where all the data resdies on the flat-file of .DAT(or we can export data into .FLT files) and I need to fetch that into a SQL Server (Staging)database.
Guys help me out how to achieve this task, any help will be much appriciated.
Thanks,
Attiqe
Here is the sample of how data looks like in .FLT files:
<p> This is the first line </p><p> 000A1010000000010100YCASH-OPERATING ACCOUNT 000000050000.00 000000083129.54-000000242784.59 000000000000.00010101000000 000000083129.54 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00</p><p> This is the second line </p><p> 000A1010100000010100YCASH-PAYROLL ACCOUNT 000000000000.00-000000105890.43 000000105890.43 000000000000.00010101000000-000000105890.43 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00 000000000000.00</p><p> We have to get the fix-lenght of the data for each attribute </p>
Attiqe Ur Rehman