To run a mapping with a parameter file from the command line, you must deploy the mapping as an application. Run the mapping and specify the parameter file. Use the infacmd
ms RunMapping
command. The -pf argument specifies the parameter file name.
For example, the following command runs the mapping MyMapping using the parameter file "MyParamFile.xml":
infacmd ms RunMapping -dn MyDomain -sn MyDataIntSvs -un MyUser -pd MyPassword -a MyApplication -m MyMapping -pf MyParamFile.xml
The Data Integration Service fails the
mapping
when you run it with a parameter file and the parameter file is not valid. The Data Integration Service fails the
mapping
if it cannot find the parameter file or it cannot access the parameter file.
For more information about using parameter sets with infacmd, see the