Controlling SAS from Another Application Using OLE |
Syntax | |
Details | |
Example |
Syntax |
Command("sas-command") |
Details |
By default, the active window receives the command. You can change which window receives the command by changing the CommandWindow property.
Example |
This Visual Basic code invokes a SAS session and opens the BUILD window:
Set OleSAS = CreateObject("SAS.Application") OleSAS.Command("build")
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.