- This topic has 6 replies, 4 voices, and was last updated 16 years, 2 months ago by .
-
Topic
-
I have an input .csv file called AB.csvwith this content: 10,1,2
10,4,8
I want to convert this to an output .csv file that would combine information from the two input records, like this:
1,2,4,8
To do that, I tried the following:
A VRL called
AB.vrlwith the following fields (all fields with their default values; and with the default Global Properties) : Type
A
B
An HRL called
AB.hrl{ AB: AB.vrl } While AB.Type = 10
Type
A
B
A VRL called
AB12.vrlfor the output A1
A2
B1
B2
An Xlate called
AB_to_AB12.xltthat uses AB.hrl as the input format and AB12.vrl as output, and a single Copy instruction with the assignments: AB(0).A –> A1
AB(1).A –> A2
AB(0).B –> B1
AB(1).B –> B2
The four fields in the output record would then be expected to be 1,2,4,8
But the XLT test gives this with
- The forum ‘Cloverleaf’ is closed to new topics and replies.