Previous Page | Next Page

Copying, Moving, and Deleting SAS Data Sets

Input Data Libraries for Examples

The examples in this section use five SAS data libraries that contain sample data sets that are used to collect and store weather statistics for the United States and other countries. The libraries have the librefs PRECIP, USCLIM, CLIMATE, WEATHER, and STORM. The following LIBNAME statements assign the librefs:

libname precip 'SAS-data-library-1';
libname usclim 'SAS-data-library-2';
libname climate 'SAS-data-library-3';
libname weather 'SAS-data-library-4';
libname storm 'SAS-data-library-5';

Note:   For each LIBNAME statement, SAS-data-library is a different physical name for the location of the SAS data library. In order to copy all or some SAS data sets from one library to another, the input and output libraries must be in different physical locations.  [cautionend]

The DATA steps that create the data sets in the SAS data libraries CLIMATE, PRECIP, and STORM are shown in the Appendix. The DATA steps that create the data sets in the SAS data library USCLIM are shown in Appendix.

Previous Page | Next Page | Top of Page