Contents Developing Windows Clients  

Utilities Object

Various utility features for controlling a SAS workspace.

Utilities Full Description

Attributes

Parent Property
HostSystem Property
FormatService Property
ResultPackageService Property
OptionService Property

Description

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.



Readonly Property Parent

The SAS workspace.

Type: Workspace

Description

The SAS Workspace containing these utilities.

Example

Usage


Readonly Property HostSystem

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


Readonly Property FormatService

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


Readonly Property ResultPackageService

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


Readonly Property OptionService

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

Contents Developing Windows Clients