>Does anyone know how to send the results of SYS(3054) Optimization
>level to a file. When you turn it on it dumps strings to the active form, but I cannot seem to capture them to a file.
>
>I would like to turn it on and off in my application and capture the results for later review...
Just before issuing it, try:
SET ALTERNATE TO
Filename To receive output ADDITIVE
SET ALTERNATE ON
ACTIVATE SCREEN
This will write to the default fox window; you could just as easily create a window and use that as a buffer, using ACTIVATE WINDOW. It seems to ignore the SET CONSOLE setting, an annoyance, and doesn't seem to write to DEBUGOUT, either, but does echo the results to the alternate file if one has been established and opened. When you finish recording your data, remember to SET ALTERNATE OFF and SET ALTERNATE TO to force the text file to be closed.