Chapter Contents |
Previous |
Next |
The FSVIEW Procedure |
Requirement: | The FSVIEW procedure must have an input data set. By default, the procedure uses the most recently created data set as its input data set. You can use the DATA= option in the PROC FSVIEW statement to select a particular data set. If you do not specify a data set and none has previously been created in the current SAS session, the procedure terminates with an error message. |
Tip: | Use the FORMULA= option to identify a FORMULA entry in which to store formulas for computed variables and other custom features of the FSVIEW session. |
PROC FSVIEW <DATA=data-set> |
<NEW=data-set
<LIKE=data-set>>
|
Options |
The AUTOADD option is ignored if you also specify the BROWSEONLY or NOADD option with the PROC FSVIEW statement.
If you specify both the DATA= option and the NEW= option in the same PROC FSVIEW statement, the DATA= option is ignored.
You can add data set options following the data set name. The options must be enclosed in parentheses. The FIRSTOBS= and OBS= options are ignored; all other data set options are valid. Refer to SAS Language Reference: Dictionary for a list and descriptions of data set options.
This option is ignored if the BROWSEONLY option is also used. If the data set cannot be opened for editing, it is opened for browsing instead.
The general form of the SAS-catalog value is
<libref.>catalog-name |
If you specify only a one-level name, it is treated as a catalog name in the default library, WORK. You must use a two-level catalog name if you want to specify a FORMULA entry name.
The general form of the formula-entry value is
entry-name<.FORMULA> |
When an entry name is provided, the procedure attempts to load the specified entry when the initial FSVIEW window is opened. If the entry is not found, the FSVIEW session is initiated with default FSVIEW window characteristics. A FORMULA entry that has the specified name is created when you end the FSVIEW session or when you use the SAVE FORMULA command.
Note: If any variable
names that are specified in the FORMULA entry do not match those in the data
set to be displayed, then the FORMULA entry is not loaded and an error message
is displayed.
You can add data set options following the data set name. The options must be enclosed in parentheses. Refer to SAS Language Reference: Dictionary for a list and descriptions of data set options.
When this option is used, the procedure begins by opening the FSVIEW NEW window, in which the names and attributes of the variables in the new data set are defined. Use the LIKE= option in conjunction with the NEW= option to initialize the FSVIEW NEW window with the variable names and attributes of an existing data set. After the structure of the new data set is defined, the FSVIEW window is opened so that observations can be added. For details, see Creating New SAS Data Sets.
If you specify both the NEW= option and the DATA= option in the same PROC FSVIEW statement, the DATA= option is ignored.
You can add data set options following the data set name. The options must be enclosed in parentheses. Refer to SAS Language Reference: Dictionary for a list and descriptions of data set options.
Note: This option is ignored
in graphical windowing environments.
When this option is used in a supported display environment, values can appear in the columns and row that the border normally occupies.
When the NOBORDER option is used in conjunction with the FORMULA= option, the window size that is specified in the FORMULA entry is ignored. The FSVIEW window always occupies the maximum possible number of rows and columns when the NOBORDER option is specified.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.