Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(3054,1) function
Message
 
 
To
24/08/1998 21:55:16
Kerry Spero
Berger Software Pty Ltd
Sydney, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00129559
Message ID:
00129560
Views:
22
>I am trying to test the performance of a system and so I would like to list all the non optimised queries. However the sys(3054) function only output to the active window, I need the information to be piped to a file? Does anyone know how to do this or is there an alternative method?

You could
SYS(3054,1)
SET CONSOLE OFF
SET ALTE TO xyz.txt
SET ALTE ON
*-- Run SQL
SET ALTE OFF
SET CONSOLE ON
*-- Do non-SQL STUFF

and so on. At the end of the code:
SET ALTE OFF
SET ALTE TO
MODI COMM xyz.txt

BTW, you can get even MORE information from SYS(3054) if you pass 11 as the parameter!

SYS(3054,11)
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform