on 06-05-2008 7:41 AM
I design a loop, condition is counter<>3.
It seems only receives 3 messages when I send more than 3.
for example, I send 105 messages, for every 10 messages it will generate a file. and I totally have 11 files.
What is the best way to end the loop?
Hey,
you need to have two loops in this.
Have your send step(for the file) in the inner loop.
The condition for this loop will be te number of messages that you need per file.
The outer loop should terminate when all the messages are recieved.(recieve step will be in the outer loop)
This is not possible with the no. of messages
You can do one thing, provide a stop message as an input along with the other messages.
And set the condition for the outer loop for the stop message.
This will terminate the outer loop.
regards,
Milan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.