Limiting file/data iterator to the contents ofa file

 1 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Brian Berenger
Basic Member
Posts: 11
Basic Member
I have a flow that reads line by line from a file and then process it.  The problem is that I have to specify the number of lines in my file in the "maximum read iterations" field.  If I don't specify this value, pflow loops through my file continuously.  I can't find any obvious way to have pflow stop once it reaches the end of the source file. 

How do I fix this??

TIA

Brian
John Henley
Posts: 3362
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Are you using 'Line' as the 'Parse by' option?
Does it keep reading the last line or does it start over?
Thanks for using the LawsonGuru.com forums!
John