Data Set Selection Window
Use this resizable window to select a data set to process by
specifying a library and a SAS data set or view. These selections can be made by
typing, by selecting from lists, or by a combination of the two. In addition,
you can control the time ID variable and time interval, and you can browse the
data set.
Access this window using the Browse button to the right of
the Data Set field in the Time Series Forecasting,
Automatic Model Fitting, and Produce Forecasts windows.
It functions in the same way as the Series Selection window,
except that it does not allow you to select or view a time
series variable.
Controls and Fields
- Library
-
is a SAS libname assigned within the current SAS session.
If you know the libname
associated with the data set of interest, you can type it in this field.
If it is a valid choice, it will appear in the libraries list and will be
highlighted. The SAS Data Sets list will be populated with data sets
associated with that libname. See also Libraries under
Selection Lists.
- Data Set
-
is the name of a SAS data set (data file or data view)
that resides under the selected libname. If you know the name, you can type
it in and press Return. If it is a valid choice,
it will appear in the SAS Data Sets list and will be highlighted.
- Time ID
-
is the name of the ID variable for the selected input data set.
To specify the ID variable, you can type the ID variable name
in this field or select the control arrows to the right of the field.
- Time ID Select button
-
brings up the Time ID Variable Specification window.
- Time ID Create button
-
brings up a menu of methods for creating a
time ID variable for the input data set.
Use this feature if the data set does not already
contain a valid time ID variable.
- Interval
-
is the time interval between observations (data frequency)
in the selected data set. If the interval is not automatically
identified by the system, you can type in the interval name or
select it from a list by clicking the combo box arrow.
For more information on intervals, see
Chapter 3, "Date Intervals, Formats, and Functions,"
in this book.
- OK
-
closes the Data Set Selection window and makes the selected data set
the current input data set.
- Cancel
-
closes the window without applying any selections made.
- Table
-
brings up a Viewtable window for browsing the selected data set.
- Reset
-
resets the fields to their initial values upon entry to the window.
- Refresh
-
updates all fields and lists on the window.
If you assign a new libname without exiting the Data Set Selection window,
use the refresh action to update
the Libraries list so that it will include the newly assigned libname.
Selection Lists
- Libraries
-
displays a list of currently assigned libnames. You can select a libname
by clicking it with the left mouse button, which is equivalent to typing
its name in the Library field.
If you cannot locate the library or directory
you are interested in, go to the SAS Explorer window, select New
from the File pull-down menu, then select Library and OK.
This brings up the New Library dialog window. You also assign a libname
by submitting a libname statement from the Program window.
Select the Refresh button
to make the new libname available in the libraries list.
- SAS Data Sets
-
displays a list of the SAS data sets (data files or data views)
contained in the selected library.
You can select one of these by clicking with the left mouse button,
which is equivalent to typing its name in the Data set field.
You can double-click on a data set name to select it and exit the window.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.