%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 uses the multicast address, but prior to 3.1 use the server name. For 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 3.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. For 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. For example:
SourceDir=c:\mySourceDirectory
TargetDir
specifies the directory where the migration result table will be saved. For example:
TargetDir=c:\myTargetDirectory