Jangita writes: > Not a question for this list but Sorry. > > 1. Is there any statement in the while loop that changes NEXTSYS? (or > better still, send any statement that has NEXTSYS in it while inside the > loop) Yes! I didn't even think about that but there is a test inside that loop whose result turns NEXTSYS off. I am not in front of the program, but that has got to be the problem. Many thanks. Martin