Developing Windows Clients |
Various utility features for controlling a SAS workspace.
Attributes
Parent Property
HostSystem Property
FormatService Property
ResultPackageService Property
OptionService Property
This object provides a number of services that control various utility features with the SAS Workspace. These features include result packages, formats, informats, options and the specifics of the server host.
The SAS workspace.
Type: Workspace
Description
The SAS Workspace containing these utilities.
Example
Usage
The server host that is executing this workspace.
Type: HostSystem
Description
This property provides the HostSystem object from which you can get information about the host on which this Workspace is running.
Example
Usage
A service for processing data using SAS formats and informats.
Type: FormatService
Description
This property provides the FormatService object, which enables you to enumerate the full range of SAS formats and informats available on the server and then use them to convert data.
Example
' Start local SAS Dim obWSMgr As New SASWorkspaceManager.WorkspaceManager dim obSAS as SAS.Workspace Dim errString As String Set obSAS = obWSMgr.Workspaces.CreateWorkspaceByServer("My workspace", VisibilityNone, Nothing, "", "", errString) ' Navigate from Workspace->Utilities->FormatService and then ' print the Year Cutoff value. debug.print "Year Cutoff is: " & str(obSAS.Utilities.FormatService.YearCutoff) obSAS.Close
Usage
The interface for managing result packages.
Type: ResultPackageService
Description
This property provides the ResultPackageService object, which enables you to access, create and publish result packages.
Example
Usage
The interface for handling SAS system options.
Type: OptionService
Description
This property provides the OptionService object, which enables you to get and set SAS system options.
Example
Usage
Developing Windows Clients |