in reply to Re^3: create a level csv
in thread create a level csv

In the output file only the first line of the "root" file have to be written that is the level 0 of a structure. The next lines are the component that can link to the first line of the other files. This line doesn't be written in the output file. Infact in the previous example I have done a mistake.
Here is the example with some notes
filename: 0_IP_017.CSV <-- the "root" file
440Z0220-932§other information <-- This is the level 0 to insert int +o the final file 623Z5400-1§other information 623Z5400-1§other information 623Z5400-18other information 623Z5400-18§other information 623Z5400-3§other information 623Z5420-1301§other information 623Z5420-1307§other information 7010902H01§other information 7010900H01§other information 623Z5466-1013§other information 623Z5466-1015§other information 623Z5465-1039§other information 623Z5465-1041§other information 623Z5465-1001§other information 623Z5420-3301§other information 623Z5465-41§other information 623Z5462-1001§other information <-- this line has children in 1_623Z5 +465-1001.CSV 623Z5462-1003§other information <-- this line has children in 1_623Z5 +462-1003.CSV 7010902H01§other information 623Z5420-3307§other information B3-15838§other information 623Z5422-3307§other information

the leafs:
filename: 1_623Z5462-1003.CSV
623Z5462-1003§Other information <-- this line identifies the link with + the "root" file and has to not be written in the outpufile 623Z5468-1§Other information 623Z5468-9§Other information 623Z5468-7§Other information 623Z5468-5§Other information CA623Z5462-1003§Other information BACD40AC36B30§Other information 623Z5469-7§Other information 623Z5462-3§Other information

filename: 1_623Z5465-1001.CSV
623Z5465-1001§other information <-- this line identifies the link with + the "root" file and has to not be written in the outpufile 623Z5465-1§other information 623Z5465-11§other information CA623Z5465-1001§other information

and this is the model of the output file (hand made)
<code> 0 440Z0220-932§other information <-- this is the first line of the + "root file" 1 440Z0220-932§other information 1 623Z5400-1§other information 1 623Z5400-1§other information 1 623Z5400-18other information 1 623Z5400-18§other information 1 623Z5400-3§other information 1 623Z5420-1301§other information 1 623Z5420-1307§other information 1 7010902H01§other information 1 7010900H01other information 1 623Z5466-1013§other information 1 623Z5466-1015§other information 1 623Z5465-1039§other information 1 623Z5465-1041§other information 1 623Z5465-1001§other information 1 623Z5420-3301§other information 1 623Z5465-41§other information 1 623Z5462-1001§other information <-- this is the line that has chil +dren of level 2 2 623Z5465-1§other information <-- this is the second line of the + 1_623Z5465-1001.CSV file 2 623Z5465-11§other information 2 CA623Z5465-1001§other information <-- and this is the last line of t +he 1_623Z5465-1001.CSV file 1 623Z5462-1003§other information <-- here i continue to read the "r +oot" file 2 623Z5468-1§Other information <-- this is the second line of the + 1_623Z5462-1003.CSV 2 623Z5468-9§Other information 2 623Z5468-7§Other information 2 623Z5468-5§Other information 2 CA623Z5462-1003§Other information 2 BACD40AC36B30§Other information 2 623Z5469-7§Other information 2 623Z5462-3§Other information <-- and this is the last line of t +he 1_623Z5462-1003.CSV 1 7010902H01§other information <-- continue to read the "root" fi +le 1 623Z5420-3307§other information 1 B3-15838§other information 1 623Z5422-3307§other information

I hope I explained my problem better than yesterday.
Thanx in advance