Chapter Contents

Previous

Next
SAS Companion for the OpenVMS Operating Environment

Customizing Session Workspace, Session Gravity, and Window Sizes

The SAS System uses the following resources to determine the size of the session workspace, the gravity of the workspace, and the size of the windows.

Note:   SAS requires at least 20 rows and 78 columns of internal window space. If you specify smaller dimensions for the SAS.maxWindowHeight, SAS.maxWindowWidth, SAS.windowHeight, or SAS.windowWidth resource, then SAS defaults to these minimum values.  [cautionend]

SAS.awsResizePolicy
controls the policy for resizing the application workspace (AWS) windows as interior window are added and removed. Possible values include the following:

grow
the AWS window will attempt to grow any time an interior window is grown or moved, in order to show all interior windows, but it will not shrink to removed dead areas.

fixed
the AWS window will attempt to size itself to the size of the first interior window and will not attempt any further size changes.

The default is grow.

SAS.maxWindowHeight
specifies the maximum height of a window. The unit of measure is specified by the SAS.windowUnitType resource. The default is 95.

SAS.maxWindowWidth
specifies the maximum width of a window. The unit of measure is specified by the SAS.windowUnitType resource. The default is 95.

SAS.noAWS: [True | False]
controls whether each of your application's windows appears in its own native window rather than in an application workspace (AWS). The default is False, which confines all windows displayed by an application to a single AWS window.

SAS.scrollBarSize
specifies the size of the scroll bars in pixels. The default is 17.

SAS.sessionGravity
specifies in which region of the screen the SAS System attempts to place its windows. Possible values include the following:
NorthWestGravity
NorthGravity
NorthEastGravity
WestGravity
CenterGravity
EastGravity
SouthWestGravity
SouthGravity
SouthEastGravity
The default is dynamic, which means that the default value is determined at run time. For example, for the first SAS session that you invoke the default is NorthWestGravity. However, if you invoke a second SAS session while the first session is still running, the default for the second session is NorthEastGravity.

SAS.sessionGravityXOffset
specifies an X (horizontal) offset to be added when the SAS System attempts to place a window in the gravity region. The default is 0.

SAS.sessionGravityYOffset
specifies a Y (vertical) offset to be added when the SAS System attempts to place a window in the gravity region. The default is 0.

SAS.windowHeight
specifies the default height of a window. The unit of measure is specified by the SAS.windowUnitType resource. The default is 50.

SAS.windowUnitType
specifies the unit of measure for the SAS.windowWidth, SAS.windowHeight, SAS.maxWindowWidth, and SAS.maxWindowHeight resources. Possible values include the following:

character
specifies the number of rows and columns.

pixel
specifies the number of pixels.

percentage
specifies the percentage of the display.

The default is percentage.

SAS.windowWidth
specifies the default width of a window. The unit of measure is specified by the SAS.windowUnitType resource. The default is 67.


Chapter Contents

Previous

Next

Top of Page

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