The SASEFAME Interface Engine |
The LIBNAME libref SASEFAME Statement
- LIBNAME libref SASEFAME 'physical name' options;
The following options can be used in the LIBNAME libref SASEFAME statement:
- CONVERT=(FREQ=fame_frequency TECH=fame_technique)
-
specifies the FAME frequency and the FAME technique just as you would
in the FAME CONVERT function. There are four possible values for
fame_technique: CONSTANT (default), CUBIC, DISCRETE, or LINEAR.
All FAME frequencies except PPY and YPP are supported by the SASEFAME
engine. For all possible fame_frequency values, see "Understanding
Frequencies" in your USER'S GUIDE TO FAME. For a more complete
discussion of FAME frequencies and SAS time intervals see "Mapping
FAME Frequencies to SAS Time Intervals" later in this chapter.
As an example,
LIBNAME libref sasefame 'physical-name'
CONVERT=(TECH=CONSTANT FREQ=TWICEMONTHLY);
- WILDCARD="fame_wildcard"
-
By default, the SASEFAME engine reads all time series in the FAME database
that you name in your SASEFAME libref. You can limit the time series
read from the FAME database by specifying the WILDCARD= option on your
LIBNAME statement. The fame_wildcard is a quoted string containing
the FAME wildcard you wish to use. The wildcard
is used against the data object names (time series only) in the FAME
database that resides in the library you are in the process of assigning.
For more information about wildcarding, see "Specifying Wildcards" in your
USER'S GUIDE TO FAME.
For example, to read all time series in the TEST library being accessed
by the SASEFAME engine, you would specify
LIBNAME test sasefame 'physical name of test data base'
WILDCARD="?";
To read series with names such as A_DATA, B_DATA, C_DATA, you could specify
LIBNAME test sasefame 'physical name of test data base'
WILDCARD="^_DATA";
When you use the WILD= option, you are limiting the number of time series
that are read and converted to the desired frequency. This option can help
you save resources when processing large databases or when processing a
large number of observations, i.e. daily, hourly, minutely frequencies.
Since the SASEFAME engine uses the FAME WORK database to store the
converted time series, using wildcards is recommended to prevent
your WORK space from getting too large.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.