FSVIEW Procedure Windows |
The FSVIEW procedure enables you to create a new data set that duplicates both the structure and the contents of the data set that is currently displayed in the FSVIEW window. You use the CREATE command to create new data sets.
The new data set can incorporate some or all of the variables from the currently displayed data set. (Dropped variables cannot be used.) Computed variables in the displayed data set become data set variables in the new data set. The current computed values of the variables are stored as the values of the new variables. If a temporary or permanent WHERE clause is in effect, then only observations from the displayed data set that satisfy the WHERE conditions are copied to the new data set.
There are two ways to specify which variables in the displayed data set are used in the new data set:
You can list the desired variable names as arguments in the CREATE command (or use the ALL argument to copy all variables).
You can issue a CREATE command with no variable names listed or with the ? argument. This form of the command opens the Select Table Variables window, from which you can select the variables to include in the new data set. By default, all variables in the displayed data set are selected in the Select Table Variables window. The Select Table Variables window is explained in the following section.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.