OK I must be a DUH!!!! First off I don’t get what the %g99 math function is doing. Is the %g99 supposed to be a variable that I’m using as a counter? If so what am I suppose to do with the variable in the xlate.
I’ve added the SUPPRESS to the beginning of the xlate and I have tried moving the CONTINUE in the interate and outside the iterate and just about everywhere in the message, but I do not get 2 clean messages. I can get to the point of 2 messages, but the first one does not have the OBX/NTE group.
This is how the message is sent to the Xlate
MSH
PID
PV1
ORC
OBR
ORC
OBR
OBX
NTE
What I need to get to is either 2 separate messages with the OBR, OBX, NTE in each or
MSH
PID
PV1
ORC
OBR
OBX
NTE
ORC
OBR
OBX
NTE
Again Thanks, Donna