I currently am getting the following in a lab result on our engine:
CFC 999999 9999
The 3 pieces are in a single element in the ORU message.
I use:
set xlateOutVals [ csubstr [lindex $xlateInVals 0] 0 3]
set xlateOutVals [ csubstr [lindex $xlateInVals 0] 4 6]
set xlateOutVals [ csubstr [lindex $xlateInVals 0] 11 4]
To pull the elements out of the field.
I am told that the second two pieces will now be sent in variable lengths.
How do I pull these two pieces using TCL?
Thanks,
Dan Loch