
Chapter 3. IBM System Migration Assistant 241
/o logdir Provide the full path and the name of the log file directory. This
parameter is optional.
/t tmpdir Provide the full path and the name of the temporary SMA directory.
This parameter is optional.
/p smapwd Provide the password that will be used to password protect the profile
during capture or that is required to access the profile during migration. This
parameter is optional.
/s tsmpwd Provide a TSM password. This parameter is optional. This is an
advanced featured described in Migration with Tivoli® Storage Manager.
/jdu userid and /jdp pwd Provide a user name and password to enable access
to the domain. The user must have at least account operator privileges in the
domain. These parameters are required only during the apply phase when you
migrate the domain setting. When used, both parameters must be provided. You
must also create a new computer account prior to applying the profile.
/v Enables verbose logging in the SMA log files. This can be helpful to resolve
migration problems.
The command file guides the execution of the command, especially during
capture. The next sections describe the role of the command file in detail.
3.5.1 System Migration Assistant capture phase in batch mode
During the capture phase, SMABAT.EXE reads the contents of the command file
and creates a profile file. An example of a capture command is:
SMABAT /c C:\MyCommandFileDir\TheCommandFile.txt
As the example shows, the command file completely drives the capture process.
SMA provides a default command file, <drive>:\Program
Files\IBM\SMA\commandfile.txt, which you can use as a template to create your
own version.
The remainder of the section explains the various commands in the command
file. SMA will process these commands in the exact order in which they appear in
Note: Edit the command file with care. A semicolon should precede all
comments in the file. SMA does not treat the text in this file in a case sensitive
fashion. If the command file has syntax errors, error messages will be written
to standard output but processing continues. However, depending on the
nature of the error, the actual results might differ significantly from the
intended behavior.