Migrating from SAS Model Manager 3.1 to 12.1

This is an example of a migration from SAS Model Manager 3.1 or 3.1 M1 to 12.1. This example can also be used when migrating from 2.2 and 2.3.
  1. Run the %MM_migrationStep1 macro on the SAS Workspace Server in your source system.
    %MM_migrationStep1() Macro
    %MM_migrationStep1
    (
    MigrateFrom21=N,
    Server = mySourceServer,
    PortNumber = 8651, /* Use the port number 6411 for SAS Model Manager 2.2 and 2.3 */
    User = mmUser,
    Password = mmPassword,
    TargetDir= \\network1\port
    );
    
  2. Run the %MM_migrationStep2 macro on a SAS Workspace Server in your target system. This macro imports all .cpo and .dpo files into the SAS Content Server.
    %MM_migrationStep2() Macro
    %MM_migrationStep2
    (
    Server = myTargetServer,
    PortNumber = 8651,
    User = mmUser,
    Password = mmPassword,
    SourceDir = \\network1\port,
    TargetDir = c:\myTargetDirectory
    );
    
  3. Run the %MM_migrationStep3 macro on a SAS Workspace Server in your target system. This macro converts the performance data to the 12.1 format.
    filename mycode catalog "sashelp.modelmgr.mm_migration.source";
    %include mycode;
    filename mycode;
    libname _mmlib
    "\SASConfigDir\Lev#\AppData\SASModelManager12.1\Dashboard\Data";
    %MM_migrationStep3
    (
       Server = myTargetServer,
       PortNumber = 8561,
       User = mmUser,
       Password = mmPassword,
       DashboardReportDataLib = _mmlib
    );