'EXECUTE's run as a thread within the current process and 'time' isn't thread compatible. Use the -Js <http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/jbc11_RunOptions.htm> option instead, e.g.
EXECUTE "SELECT -Js <http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/jbc11_RunOptions.htm> etc etc" The option has to come directly after whatever command needs to be 'time'd. Dan On Thu, Aug 14, 2014 at 8:18 AM, Vladimir Kazimirchik <[email protected]> wrote: > Hi All, > > I can manually run "time SELECT etc etc" from jsh even under Windows; it > shows me something like: > > usr: 0.01 sys: 0.00 elapsed: 0m0.00s > > but when I use this command in EXECUTE from a program, it gives the TIME > command output (and no SELECT happens): > > 13:12:47 14 AUG 2014 > > Do I miss something? Of course I know that the easiest way is to measure > time right before and after SELECT but I'm just curious. > > Win32, TAFC R11. > > BR All > V. > > -- > -- > 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. > -- -- 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.
