ControlPanel.exe -run -f=””
Insert the path to wherever you saved your .mmx file after the -f flag, ensuring
that it was placed in quotes and the ControlPanel.exe is the MetaManager™ executable.
To test the MMX file you can simply right click on it and choose the option “Run”.
There is a whole section in the MetaManager™ User’s Guide that provides more information
on the different flags that you can use with the command line. Here is an excerpt
from the documentation for the command line switches.
-open Specifies that the –f file should be opened in MetaManager™ in interactive
-run Specifies that the –f file should be ran in MetaManager™ in command line
-f=”filename” Specifies the .mmx file to open or run -o=”filename” Specifies
the name and location of the output results xml file. If this parameter is omitted
a file in the same location of the mmx file with be created with the same name of
the mxx file but with a .xml extension.
-hd=”domain” Specifies the HTTP Domain to be used for HTTP Basic Security
(used in conjunction with –hu and –hp) -hu=”username” Specifies the HTTP Username
to be used for HTTP Basic Security.
-hp=”password” Specifies the HTTP Password to be used for HTTP Basic Security.
-n Specifies a Cognos Namespace to log into before processing. Only a single
namespace can be used on the command line. To log into multiple namespaces create
a connection in interactive mode and save multiple logon credentials.
-u Specifies the Username to use when logging into the –n namespace.
-p Specifies the Password to use when logging into the –n namespace.
-d Specifies that a dataset file should be created when processing is complete.
The name of the dataset file will be the same as the input mmx file with “_dataset.xml”
appended to the end of the filename. -d=”filename” Specifies that a dataset file
should be created when processing is complete. The name and location of the dataset
file is supplied as filename. This is useful when the dataset file is being used
as a datasource and running MetaManager™ should update the dataset file that Cognos
is pointing to.