The MIGRATE Procedure |
What Does the MIGRATE Procedure Do? |
The MIGRATE procedure migrates members in a SAS library to the current SAS version.
The procedure migrates a library from most SAS 6, SAS 7, SAS 8, and SAS 9 operating environments to the current release of SAS. The migration must occur within the same engine family; for example, V6, V7, or V8 can migrate to V9, but V6TAPE must migrate to V9TAPE.
The procedure migrates the following library members:
data sets with alternate collating sequence, audit trails, compression, created and modified datetimes, deleted observations, encryption, generations, indexes, integrity constraints, and passwords
in many cases, views, catalogs, item stores, and MDDBs (see What Are the Specific Considerations for Each Member Type?)
The procedure does not support stored compiled DATA step programs or stored compiled macros. Instead, move the source code to the target, where you can compile and store it.
The procedure does not support SPD engine (Scalable Performance Data engine) data sets. If you are staying on the same operating environment, the SPD engine data sets are compatible. If you are changing to a different operating environment where the data sets are not compatible, use PROC CPORT and PROC CIMPORT to convert them. See SAS Scalable Performance Data Engine: Reference.
Best Practices |
First use the Compatibility Calculator on the SAS Web site at http://support.sas.com/rnd/migration/planning/files/calculator/ to determine whether you must migrate your libraries. Then use the PROC MIGRATE Calculator on the SAS Web site at http://support.sas.com/rnd/migration/planning/files/migratecalc/, which provides the PROC MIGRATE syntax for your migration.
To document and validate the migration of your libraries, use the MIGRATE procedure's validation tools. The validation tools are located on the SAS Web site at http://support.sas.com/rnd/migration/resources/procmigrate/validtools.html. For more information, see Migrating a Library with Validation Tools.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.