%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 Model Manager version.
Model Manager 3.1 uses multicast address, 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 source server that hosts the model repository.
For 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. For 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. For example:
MigrateFrom21=Y