Controlling SAS from Another Application Using OLE |
SAS can perform as an OLE automation server. This means that you can use an application that can act as an OLE automation controller (such as Visual Basic) to create a SAS session and control it using the methods and properties that SAS makes available.
Many Windows applications use Visual Basic or Visual Basic for Applications as the scripting language for automation. All examples that are provided in this document use Visual Basic, but you can achieve the same results with any application that can act as an OLE automation controller.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.