%MM_migrationStep1() Macro

%MM_migrationStep1 macro ports all catalogs and SAS data sets from the source server into .cpo and .dpo files, and then places them in a user-specified directory.

Syntax

%MM_migrationStep1(<MigrateFrom21=Y or N>, Server = mySourceServer, PortNumber = port,
User = mmUser, Password = mmPassword,
TargetDir= \\network\port);

Required Arguments

Server
specifies the domain name or multicast address for the migration source 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 source server that hosts the model repository. Here is an example:
PortNumber=6411
User
specifies a valid SAS Model Manager user to access migration source server.
Password
specifies the password for the SAS Model Manager user to access migration source server.
TargetDir
specifies the directory that will save all portable files. Here is an example:
TargetDir=c:\myTargetDirectory

Optional Argument

MigrateFrom21
specifies whether the migration is from SAS Model Manager 2.1. The values can be Y or N. This argument is not required. Here is an example:
MigrateFrom21=Y