Chapter Contents

Previous

Next
SAS/FSP Software Procedures Guide

Modifying General Parameters

Select option 5 from the FSEDIT Menu window to view or modify the current parameter settings for your FSEDIT application. This option opens the FSEDIT Parms window. Use the END command to close the FSEDIT Parms window and return to the FSEDIT Menu window.

The FSEDIT Parms Window shows the FSEDIT Parms window for a typical application.

The FSEDIT Parms Window

[IMAGE]


Parameter Fields

To change one of the general parameters of the FSEDIT session, modify the value in the corresponding parameter field in the FSEDIT Parms window. (If the field has a current value, simply type over it.)

Here are descriptions of the available parameter fields:

Color and Attribute
On devices that support color, you can change the default color and highlighting attribute of the following window areas:
Background controls the background color of the FSEDIT window.

Note:   Some devices do not allow the background color to be changed; for these devices, the background color parameter is ignored.  [cautionend]

Border controls the color of the window border in character-based display environments.

Note:   This parameter has no effect in graphical windowing environments.  [cautionend]

Banner controls the color of the Command===> text at the left of the command line.

Note:   This parameter has no effect if a menu bar is displayed in place of a command line.  [cautionend]

Command controls the color of the text that users type on the command line.

Note:   This parameter has no effect if a menu bar is displayed in place of a command line.  [cautionend]

Message controls the color of text that is displayed in the window's message line.
Protected controls the color of all descriptive text in the FSEDIT window.
Unprotected controls the color of all variable fields in the FSEDIT window--even those for which the PROTECT field attribute is specified in the FSEDIT Attribute window.

Note:   If you change the color values in the Protected and Unprotected fields of this window, the specified colors override the colors that you used when you created the custom display for the application in the FSEDIT Modify window.  [cautionend]

The following values are valid in the Color fields:

BLUE GREEN WHITE GRAY
RED CYAN BLACK BROWN
PINK YELLOW MAGENTA ORANGE

Note:   If a specified color is not available on a user's display device, the procedure substitutes the available color that most closely matches the specified color.  [cautionend]

On devices that support extended highlighting attributes, you can assign a highlighting attribute to specified areas in the window. (The Background, Protected, and Unprotected areas do not support highlighting attributes.) The following values are valid in the Attribute fields:
NONE no highlighting
HIGHLIGHT high intensity
BLINKING blinking
UNDERLINE underlining
REVERSE reverse video

Note:   If a parameter specifies a highlighting attribute that is not available on the user's display device, the parameter is ignored.  [cautionend]

Allow DELETE command
controls whether users can issue the DELETE command to delete observations from the data set.

Specify Y in this field (or leave it blank) if you want to permit users to delete observations from the displayed data set. (You can use the NODEL option with the PROC FSEDIT statement to override this parameter setting when the FSEDIT session is invoked.) Specify N in this field to disable the DELETE command in the FSEDIT window.

Allow ADD/DUP command
controls whether users can issue the ADD or DUP commands to add new observations to the data set.

Specify Y in this field (or leave it blank) if you want to permit users to add new observations to the displayed data set. (You can use the NOADD option with the PROC FSEDIT statement to override this parameter setting when the FSEDIT session is invoked.) Specify N in this field to disable the ADD and DUP commands in the FSEDIT window.

Keys name
identifies the KEYS entry that contains function key assignments for the application. The default is FSEDIT, which selects the default entry FSEDIT.KEYS. The FSEDIT procedure searches for the specified entry in the following catalogs in the order shown:
  1. the SAS catalog that is identified in the SCREEN= option of the PROC FSEDIT statement or in the screen-name parameter of the FSEDIT command

  2. SASUSER.PROFILE (or WORK.PROFILE if the SASUSER library is not allocated)

  3. SASHELP.FSP

If the specified entry is not found, the default FSEDIT key definitions are used.

Override on errors
determines whether users of your application are permitted to use the OVERRIDE command to exit an observation even though one or more fields contain invalid values (such as a value that is outside the acceptable range that is assigned by the MINIMUM and MAXIMUM attributes).

Specify Y to permit the use of the OVERRIDE command in these situations. Specify N to prevent users from exiting an observation without supplying a value within an acceptable range. Y is the default.

Override on required
determines whether users of your application are permitted to use the OVERRIDE command to exit an observation even though one or more fields that have been assigned the REQUIRED attribute contain no value.

Specify Y to permit the use of the OVERRIDE command in these situations. Specify N to prevent users from exiting an observation without supplying values for all required fields. Y is the default.

Autosave value
determines how frequently the data set that the application uses is automatically saved. By default, AUTOSAVE is set to 25, which means that the data set is automatically saved after each group of 25 observations is entered, edited, or deleted.

You can also set the AUTOSAVE parameter by using the AUTOSAVE command.

Modify password
enables you to protect your customized application by assigning a password to it. If you assign a value in the Modify password field, then users of the application must specify the password with the MODIFY command in order to modify the SCREEN entry. Also, if you assign a password, the MODIFY option is no longer valid in the PROC FSEDIT statement.

The password can consist of any combination of letters and numbers, but it must begin with a letter.

Rows and columns
enables you to specify the height and width (in rows and columns) of the FSEDIT window for your application. You can position the FSEDIT window within the display by specifying the row and column for the upper left corner of the window.

Name command variable
enables you to assign a default variable to search with the LOCATE command in your application. If you specify a search variable here, users do not have to issue a NAME command before using the LOCATE or LOCATE: commands in the FSEDIT window. The search variable must be a data set variable. Computed variables cannot be used as search variables.

String command variables
enables you to specify up to 29 variables to search for embedded text with the SEARCH command in your application. If you specify search variables here, users do not have to issue a STRING command before using the SEARCH or SEARCH@ commands in the FSEDIT window. The search variables must be data set variables. Computed variables cannot be used as search variables.


Commands Versus Parameter Settings

Values for the NAME, STRING, and AUTOSAVE parameters, which are described above, are saved when the FSEDIT Menu window is closed. Users can override the stored parameter values for the duration of an FSEDIT session by executing the NAME, STRING, or AUTOSAVE commands in the FSEDIT window. If a user opens the FSEDIT Menu during an FSEDIT session, then any changes that are made with the NAME, STRING, and AUTOSAVE commands in the FSEDIT window are automatically saved with the customized information.


Chapter Contents

Previous

Next

Top of Page

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