Previous Topic

Next Topic

Book Contents

Book Index

emreportcli input arguments file

Input for the utility is an arguments file containing the XML specifications for the report to be generated, including all required parameters. The following sample XML arguments file is provided at em_home\Data\Reporting\sample_args.xml. A list of required elements and values for the arguments is provided in the DTD file: em_home\Data\Reporting\emreportcli.dtd.

emreportcli {-u <user> -p <password> | -pf <password file>} -s

<server name> -arg <XML file name>

If you are using only a client installation you must include the ‘bin’ directory in the file path. For example:

c:\Program Files\<Instance Name>\bin\emreportcli.exe {-u <user> -p <password> | -pf <password file>} -s <GUI Server Name> -arg <arguments file>.xml}

<!DOCTYPE ReportDefinitions SYSTEM "emreportcli.dtd">

<ReportDefinitions>

<ReportDefinition>

<SourceFile templateName="alerts3"/>

<OutputFile type="PDF" filepath="D:\MyAlerts3.pdf"/>

<Parameters>

<Parameter name="MY_PARAM" value="job*"/>

<Parameter name="Application" value="a*"/>

</Parameters>

</ReportDefinition>

</ReportDefinitions>

With the input arguments file in the above example, the emreportcli generates a PDF report based on the "alerts3" report template and saves it in the D:\ folder with the filename called MyAlerts3.pdf.

If the report template filter is defined as shown in ZBlueXrefparanum, the output of the report will contain all alerts with a

Parent Topic

emreportcli