%MM_migrationStep2() Macro

%MM_migrationStep2 macro imports all of .cpo and .dpo files into the target server.

Syntax

%MM_migrationStep2(Server = myTargetServer, PortNumber = port,
User = mmUser, Password = mmPassword,
SourceDir=\\network\port,
TargetDir= myTargetDIR);

Required Arguments

Server
specifies the domain name or multicast address for the migration target server that hosts the model repository. The value depends on the SAS Model Manager version. SAS Model Manager 3.1, 3.1 M1, and 12.1 use the multicast address, but versions prior to 3.1 use the server name. Here is an example:
Server=myserver.com
Tip
The multicast address and port number are defined in the environment.properties file that is located in the \sasconfigdir\Lev#\ Web\Applications\RemoteServices directory. For example, in your SAS Model Manager 12.1 environment in Windows, the file is located at C:\SAS\Config\Lev1\Web\Applications\RemoteServices.
PortNumber
specifies the port number for the migration target server that hosts the model repository. Here is an example:
PortNumber=8561
User
specifies a valid SAS Model Manager user to access migration target server.
Password
specifies the password for the SAS Model Manager user to access migration target server.
SourceDir
specifies the directory where all portable files are saved. Here is an example:
SourceDir=c:\mySourceDirectory
TargetDir
specifies the directory where the migration result table will be saved. Here is an example:
TargetDir=c:\myTargetDirectory