This is an example of
a migration from SAS Model Manager 2.1 to 12.1
-
Run the %MM_migrationStep0()
macro on the SAS Workspace Server in your target system.
%MM_migrationStep0() Macro
%MM_migrationStep0(
MMRootURL = %nrstr(http://mySourceServer:8300/ModelManager),
Server = myTargetServer,
PortNumber = 8651,
User = mmUser,
Password = mmPassword,
TargetDir= \\network1\port
);
-
Run the %MM_migrationStep1()
macro on the SAS Workspace Server in your source system.
%MM_migrationStep1() Macro
%MM_migrationStep1
(
MigrateFrom21=Y,
Server = mySourceServer,
PortNumber = 6411,
User = mmUser,
Password = mmPassword,
TargetDir= \\network1\port
);
-
Run the %MM_migrationStep2()
macro at 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
);
-
Run the %MM_migrationStep3
macro on a SAS Workspace Server in your target system.
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
);