- This topic has 8 replies, 3 voices, and was last updated 11 years, 10 months ago by .
-
Topic
-
Hi All I am new to FRL and how to combine and repeat them. I am trying to take an FRL message that is compose 2 recorded types one is the header and the other is line both have a max length of 830 characters
Header record type starts with H
Line record types start with L
A message is something like this
Hxxxxxxxxxxxxxxxxxxxxxxxx Lxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxx Lxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx Hxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx Lxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxx Lxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxx Hxxxxxxxxxxxxxxxxxxxxxx
In the illustration above a header repeats and so does the Line
I thought the solution would be is to create one FRL(header) and two FRL(line). Then I would use an HRL to combine, don’t know if this the right approach.
In the HRL message I have a header with a repeat while record_type value equals H and condition value equals H
In the Line record type I have a repeat while company code equal L and the conditjon value equals L
So my problem is that when I use the tester using the tab HRL. I am only seeing the header record type and once the line record type.
I am also getting the error below
[0:TEST] header: CONDITION field header.record_type must come before header
[0:TEST] header2: REPEATWHILE field header.record_type must be in the same field
Thank you in advance for your help with this
Yamil
- The forum ‘Cloverleaf’ is closed to new topics and replies.