I’m a newbie at this. I have an Xlate already and I was going to add a tclproc to the OBR_44 to remove ~ to a -. What is the best way to do this? Here is an example.
The ~ is actually the repeating field delimiter (probably). You could do a concatenation in the xlate to get the desire results. Holler if you need more detail.
Normally OBR-44 is not a repeating field (probably why the receiving system needs the change).
Having said that, you will indeed need nested iterations. Also your basis for the OBR Group Iteration might be incorrect
Inside the OBR Iteration, you will need a field ITERATE for OBR-44.
Then inside that iteratin you will need a CONCAT that references the current occurrence of the OBR group AND the OBR-44 field as well as the outbound OBR-44 field (repetition 0 (1).
Something like this:
ITERATE – OBR Group
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
Author
Replies
Viewing 5 reply threads
The forum ‘Tcl Library’ is closed to new topics and replies.