Steps to Migrate a Library


These steps describe the validation tools and how to modify the migrate_template.sas tool to fit your site s needs.

  1. Compile the macros by copying the migrate_macros.sas tool into an interactive SAS session and submit it.

  2. Copy the migrate_template.sas tool into an interactive SAS session, define the source library, the target library, and the library to contain ODS output data sets. For example:

     libname lib1 <engine> 'path to source library';  libname lib2  base    'path to target library';  libname ods           'path used by the tools'; 

    Note: The optional engine assignment in the first LIBNAME statement is required if you have a mixed library, such as, a library containing members that were created in different releases of SAS, such as SAS 6 and SAS 8. The engine assignment in the first LIBNAME statement specifies which version members you want to migrate. You must repeat the process for each version your library contains.

  3. Modify the PROC MIGRATE step in the migrate_template.sas tool with the appropriate options:

     proc migrate in=lib1 out=lib2 <options>;  run; 
  4. Submit the migrate_template.sas tool.




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