%MM_migrationStep0() Macro

%MM_migrationStep0 macro retrieves the URL property values of all project versions that are being migrated from the source server and places the result table in a user-specified directory.

Syntax

%MM_migrationStep0(MMRootURL = mmRootURL,
Server = myTargetServer, PortNumber = port,
User = mmUser, Password = mmPassword,
TargetDir= \\network\port);

Required Arguments

MMRootURL
specifies the URL of MMRoot in the WebDAV Server of the migration source system. For example:
MMRootURL =%nrstr(http://myServer:8300/ModelManager
Tip
To find the URL of the MMRoot in SAS Model Manager 2.1:
  1. Log on to the SAS Model Manager 2.1 client.
  2. Select the MMRoot folder in the Project Tree perspective.
  3. In the Properties panel, locate the URL system property. Use this value for the MMRootURL variable.
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 versions prior to version 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 the migration source server.
Password
specifies the password for the SAS Model Manager user to access the migration source server.
TargetDir
specifies the directory that will save all portable files. For example:
TargetDir=c:\myTargetDirectory