To run a MIG File from the command line

Restriction: This topic applies to Windows environments only.

If you have saved your migration specifications to a MIG file, you can rerun the migration without opening Migrate. This is done by invoking Migrate from your development environment's command prompt and giving it the name of your MIG file.

The command used to invoke Migrate with a MIG file is as follows:

xmig40n -bMIGFile -iINIFile

where:

MIGFile is the name of your MIG file. If this file isn't in the application path specified in the Path tabs of Options, you must specify the path in addition to the filename.
INIFile is the name of the initialization file under which you want Migrate initialized. If you don't include the -i parameter, Migrate uses XDB.INI in the current working directory.