TI Process: Importing Fixed Width Datasource
Posted: Tue May 19, 2009 7:00 am
Hi,
I'm trying to create a TI Process that imports data from a text file that is fixed width delimited. When I tried to set the columns, I noticed the interface is rather buggy. E.g. the data will be duplicated across multiple columns as I dragged the lines across to try to define the starting point of the columns.
I even punch in a series of "1234567890" at the header row so that i know exactly where to start/end the columns when I create them at the interface. After this is done, the preview seems to show that it is working correctly. However, when I ran the process, errors appear, such as:
"00100-000-000-00-000-000000-10","010-0000-01-000,,,,Share Capital,,,,"99,999,999.","22",","",Data Source line (17) Error: Data procedure line (0): Cannot convert field number 3, value "22"," to a real number.
The actual raw data looks like this:
00100-000-000-00-000-000000-10 Share Capital 99,999,999.22
Does it have anything to do with the number delimiters that i defined? the decimal separator is "." and thousand separator is ",".
I'm trying to create a TI Process that imports data from a text file that is fixed width delimited. When I tried to set the columns, I noticed the interface is rather buggy. E.g. the data will be duplicated across multiple columns as I dragged the lines across to try to define the starting point of the columns.
I even punch in a series of "1234567890" at the header row so that i know exactly where to start/end the columns when I create them at the interface. After this is done, the preview seems to show that it is working correctly. However, when I ran the process, errors appear, such as:
"00100-000-000-00-000-000000-10","010-0000-01-000,,,,Share Capital,,,,"99,999,999.","22",","",Data Source line (17) Error: Data procedure line (0): Cannot convert field number 3, value "22"," to a real number.
The actual raw data looks like this:
00100-000-000-00-000-000000-10 Share Capital 99,999,999.22
Does it have anything to do with the number delimiters that i defined? the decimal separator is "." and thousand separator is ",".