Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4
If you use the MOVE option with PROC MIGRATE, the validation tools can only produce validation output for the members that were migrated . The MOVE option deletes the source library once it has been moved to the target library. You cannot use the %CHECKEM wrapper macro or any of the memtype comparison macros unless the source files remain in the source library after the migration. This significantly limits the validation tools.
-
Submit the migrate_macros.sas tool into the interactive SAS session to compile the needed macros.
-
Copy the migrate_template.sas tool into the interactive SAS session and revise the three libnames.
-
Submit:
%before;
-
Submit:
proc migrate in=lib1 out=lib2 move; run;
-
Then, submit the following:
%mig_in_lib(lib=lib1, after=y); %mig_in_lib(lib=lib2); %mig_indexes(lib=LIB2); ****must be upper case; %mig_check_libs; %mig_check_source(move=Y);