Using the MOVE Option


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.

  1. Submit the migrate_macros.sas tool into the interactive SAS session to compile the needed macros.

  2. Copy the migrate_template.sas tool into the interactive SAS session and revise the three libnames.

  3. Submit:

     %before; 
  4. Submit:

     proc migrate in=lib1 out=lib2 move; run; 
  5. 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); 



Base SAS 9.1.3 Procedures Guide (Vol. 1)
Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4
ISBN: 1590472047
EAN: 2147483647
Year: 2004
Pages: 260

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net