Thanks, Dan, that works. For my continuing education...WHY does that work?
Marc On Saturday, June 7, 2014 3:54:08 PM UTC-4, Daniel Klein wrote: > > EXECUTE "GET-LIST TEMP" RTNLIST TEMPLIST > READNEXT ID FROM TEMPLIST ELSE CRT "ALL DONE" ; STOP > > -.. .- -. > > > On Sat, Jun 7, 2014 at 12:48 PM, Marc <[email protected] <javascript:>> > wrote: > >> Hi all! >> >> Have a confusing coding problem that I can't figure out. >> >> In a program, I have: >> >> EXECUTE "SSELECT FILE.NAME BY INV#" >> EXECUTE "SAVE-LIST TEMP" (because I need to use the same sselect later in >> the program) >> EXECUTE "GET-LIST TEMP" >> READNEXT ID ELSE CRT "ALL DONE" ; STOP >> >> The program properly executes the SSELECT, the SAVE-LIST and the >> GET-LIST, but the READNEXT exits with the ALL DONE message without seeing >> any of the item list. An EDIT-LIST done immediately after the program >> fails shows the TEMP list correctly populated! >> >> What am I missing? >> >> Thanks for any assistance... >> Marc Zitcer >> >> -- >> -- >> IMPORTANT: T24/Globus posts are no longer accepted on this forum. >> >> To post, send email to [email protected] <javascript:> >> To unsubscribe, send email to [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/jBASE?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "jBASE" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
