I need to ITERATE thru the OBX segment looking for a specific value in OBX:3. If I see that value, I need to look at the value in the corresponding OBX:5. That value is how many times I need to repeat the message.
Example:
I have 5 OBX segments. I ITERATE thru and find one that contains “CODPROMPT-2” in OBX:3. I then look in the OBX:5 and see a value of 4. I need to make 4 copies of the same message. (Minor tweak done in OBR:2 on the copied messages.)
The issue I am having is I have nothing to iterate thru to create my copies. I’ve looked all thru Clovertech, got my SUPPRESS and CONTINUE in place, but nothing to loop with. I’ve tried everything I can think of and am stuck. 🙁