Hi all !
I have a little script that does the following :
Label>GetItem
Random>850,line
ReadLn>e:\msched\data\items.txt,line,itemno
If>itemno=##EOF##,GetItem
Send Character/Text>%itemno%
Now what seems to happen is every now and then - very intermittently - %itemno% outputs "line,itemno" instead of a read line. Of course, I can place a check for this in the code - but any reason why ReadLn would do this ?
ReadLN not always correctly reading into a variable...
Moderators: Dorian (MJT support), JRL
ReadLN not always correctly reading into a variable...
Jon Steel
Oracle EnterpriseOne Technical Specialist
erpSOURCING LLC
http://www.erpsourcing.com
(904) 382 5701
Oracle EnterpriseOne Technical Specialist
erpSOURCING LLC
http://www.erpsourcing.com
(904) 382 5701
Hi,
Have a try by replacing the literal "line" with the variable %line%.
The problem seems to identify which line should be read.
Hope that helps.
Ernest
Have a try by replacing the literal "line" with the variable %line%.
The problem seems to identify which line should be read.
Code: Select all
ReadLn>e:\msched\data\items.txt,%line%,itemno
Ernest