MIGRATE Procedure

Example 3: Migrating on the Same Computer

Features:

IN=

OUT=

Notes: You are encouraged to run PROC MIGRATE with validation tools. See Migrating a Library with Validation Tools .

To learn whether this is the correct PROC MIGRATE example for your migration, use the PROC MIGRATE Calculator on the SAS Web site at http://support.sas.com/rnd/migration/planning/files/migratecalc/

Details

In this example, the following is demonstrated:
  • The source and target libraries are on one computer.
  • The SLIBREF= argument is not used. (See Using the SLIBREF= Option to learn whether SLIBREF= is required.)
  • The IN= argument accesses all of the supported file types in the source library. Because the source and target are on one computer, NFS is not used.

Program

libname source <engine> 'source-library-pathname';
libname target base 'target-library-pathname';

proc migrate in=source out=target;
run;

Program Description

From a session in the current release of SAS, submit the following.
libname source <engine> 'source-library-pathname';
libname target base 'target-library-pathname';

proc migrate in=source out=target;
run;