Thanks Jim, appreciate your comments. As we don’t have an X12 variant that seems to match the file layout, I guess I was thinking it would be better to do this via tcl rather than an xlate. But then, as you stated, the xlate may do some of the totaling for me.
Still would like to know if anybody has attempted this before via a tcl proc and how they coded the tcl.