MIGRATE Procedure

Restrictions: SAS data set options are not supported.

The source and target libraries must be in different physical locations.

When PROC MIGRATE creates a member in the target library, the member does not retain its permissions from the source library. It has the permissions associated with the user ID of the person who ran PROC MIGRATE.

SAS 8.2 source libraries from the following operating environments are not supported: CMS, OS/2, OpenVMS VAX, or 64-bit AIX. See “Alternatives to PROC MIGRATE.”

Source libraries that were created under a 64-bit Windows source environment are supported only for a 64-bit Windows target environment. To migrate to a different target environment, see “Alternatives to PROC MIGRATE.”

Catalogs that were created under a Tru64 UNIX source environment are not supported for a Linux for x64 or a Solaris for x64 target environment. To migrate catalogs under those conditions, see “Additional Steps for Unsupported Catalogs.”

SAS files that were created before SAS 6.12 (SAS 6.09E for z/OS) must be converted to SAS 6.12 before they can be migrated to the current release of SAS. Some SAS 6 source environments are not supported; see “Migrating a SAS 6 Library.”

Tips: For encoding and transcoding issues, see the topic about national language support within the migration topics at http://support.sas.com/rnd/migration/ or see the SAS National Language Support (NLS): Reference Guide.

Assign the OUT= target library to an empty location. If a member already exists in the target library that has the same name and member type as a member in the source library, the member is not migrated. An error message is written to the SAS log, and PROC MIGRATE continues with the next member. Note that members in a sequential library are an exception, because PROC MIGRATE does not read the entire tape to determine existence.


PROC MIGRATE IN=libref-1 OUT=libref-2

Table of Procedure Tasks

Statement Task Example
PROC MIGRATE Statement Migrate members in a SAS library to the current SAS version Ex. 1, Ex. 2, Ex. 3, Ex. 4, Ex. 5