Chapter Contents

Previous

Next
Command Method

Command Method



Invokes a command as if it was entered from the SAS command line


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")


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.