Originally posted by Gena Gill
Using TCL, I need to compare OBX 3 subfield 0 and OBX 5, and if OBX 3(0) equals FLUIDML, and OBX 5 equals 0, then I need to change the value of OBX 3(0), to FLUIDMLNO.
I have other conditions in a complex translation that use these values, so changing this in the preproc is the easiest.
My biggest problems seems to be that I can't get beyond reading the first iteration of the OBX segment. No errors are being returned when I watch the output, and what's Echoing back is always just the first iteration.
I'm attaching the TCL that I'm trying to use. Any assistance would be greatly appreciated!