#1 2008-06-10 08:12:31

fred
Member
Registered: 2008-03-13
Posts: 43

Problem with file

Hi,
I have file likre this:
UNB00428721351                               22471200402                          22  080604080620080604080605
UNH0008060408060501REPORT002003GTGTF
BGM0008060408060501
NAD10FW 42872135103300   05 SERNAM BORDEAUX
NAD10CO 47120040200025   05 COREP 33
UNSHDD
RFF10SEN125514
RSJ20FW RSTPRE000000
DTM30DSJ0806040000
DTM30DDI0806040709
TXT30RCO206033184978000000KMS00098151
TXT30DELFAX RDV
PCI202312026331849781541000981510010761
RFF10SEN125823
RSJ20FW AARCFM000000
DTM30DSJ0806040721
DTM30DDI0806040721
TXT30RCO206033184978000000KMS00098258
PCI202312026331849781551000982580010131
.
.
.
My problem is that i just want to take some info in this file (bold text).  At this moment i use Tjava component and i've wrote some java routine to do what i want, but i want to know if there is tos component who make this.
I don't know if my explanation are very clear but thanks for your reply.

Offline

#2 2008-06-10 08:26:27

shong
Talend team
Registered: 2007-08-29
Posts: 10357
Website

Re: Problem with file

Hello

You can use the tFileInputPositional +tSampleRow to get data from the specify lines.see [Forum, topic 3077] Filtering lines in tFileInputDelimited component

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2008-06-10 10:18:59

fred
Member
Registered: 2008-03-13
Posts: 43

Re: Problem with file

OK but i don't have Tsamplerow component, i'm using TOS 2.3.3

Offline

#4 2008-06-10 10:25:49

shong
Talend team
Registered: 2007-08-29
Posts: 10357
Website

Re: Problem with file

Hello

tSampleRow is available from TOS2.4.0, please download the latest version.

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

Board footer

Powered by FluxBB