Previous Page | Next Page

The SASEHAVR Interface Engine

Using the SAS DATA Step

If desired, you can store your selected time series in a SAS data set by using the SAS DATA step. You can further subset your data by using the WHERE, KEEP, or DROP statements in your DATA step.

For more efficient subsetting of time series by HAVER variables, by HAVER groups, or by HAVER sources, you can use the corresponding KEEP=, GROUP=, and SOURCE= option on the LIBNAME libref SASEHAVR statement . For your convenience, wildcarding is supported in these options.

There are three wildcard symbols: ’*’, ’?’ and ’’. The ’*’ wildcard corresponds to any character string and will include any string pattern that corresponds to that position in the matching variable name. The ’?’ stands for any single alphanumeric character. Lastly, the ’’ wildcard corresponds to a single numeric character.

You can also deselect time series by HAVER variables, by HAVER groups, or by HAVER sources, by using the corresponding DROP=, DROPGROUP= or the DROPSOURCE= option. These options also support wildcarding to facilitate deselection based on variable names, group names, or source names.

Once your selected data is stored in a SAS data set, you can use it as you would any other SAS data set.

Previous Page | Next Page | Top of Page