ok...I found this code snipit (REALITY FLAVOR)

SELECT FILENAME
LOOP
   READNEXT ID ELSE EXIT
WHILE ID DO
   CODE
   CODE with GOSUB
   CODE
   CODE
REPEAT


What was happening was the loop was exiting early,  but it was exiting after
the
CODE with GOSUB line was executed.

What struck me was why there was a While DO as well as an EXIT in the loop?
while nothing in the CODE or GOSUBs modified the ID, would having both the
WHILE/DO and EXIT cause some kind of problem?

After I removed (commented out) the WHILE/DO line, the program ran as
expected
and processed the 100,000 records, (whereas before it stopped after 6).

George
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to