I have a vrl file, 10 records, fields delimted by |. I need to create MSH, MFI, then repeating groups of CD1, CD2, CD3. Currently my output is creating repeats of MSH, MFI, CD1, CD2, CD3.
I know I need to use the iterate function. I want to repeat the group of CD segments. But I don’t understand what to put in the basis and what/where to assign the variable. I tried to put group 1 in the basis, it shows as ~1. I get an error Unable to get iteration basis address ‘1(0).CD1(0)’ I don’t know what to copy from the source because it’s multiple fields into each segment.
Hope I have explained this correctly. Thanks in advance for any assisstance you can give me.