Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


5.5.1 Outputting and customizing report definitions

  1. Describe the report whose definition you want to output in the report definition file (XML format).

    For example, to output report definitions of report1 and report2 stored in the report_win folder under User Reports, describe the report as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE pr-cli-parameters SYSTEM "rdef_output_params.dtd">
    <pr-cli-parameters ver="0100">
    <report-definitions>
    <report-definition name="report1" parent-folder="/report_win"/>
    <report-definition name="report2" parent-folder="/report_win"/>
    </report-definitions>
    </pr-cli-parameters>
  2. Save the report definition file in step 1.

  3. Execute the jpcrdef output command.

    For example, to output the report definition described in the report definition file rdef_input_win.xml to the destination report definition file rdef_output_win.xml, the specification could be as follows:

    jpcrdef output -o rdef_output_win.xml rdef_input_win.xml

    For details on the jpcrdef output command, see the chapter that describes the command in the manual JP1/Performance Management Reference.

  4. Edit the report definition file output in step 3.

    For details on how to edit a definition file for a report, see the section that describes the jpcrdef create command in the manual JP1/Performance Management Reference.

  5. Save the report definition file edited in step 4.

  6. Register the report definition edited in step 4 by executing the jpcrdef create command.

    For example, to use the report definition file rdef_output_win.xml, the specification could be as follows:

    jpcrdef create rdef_output_win.xml

    For details on the jpcrdef create command, see the chapter that describes the command in the manual JP1/Performance Management Reference.

Important
  • You need to edit the report definition file in the prescribed format. Note that if you edit or create it in any format other than the prescribed one, it might not operate normally.

  • An error occurs if you attempt to register a report with the same name as an existing report.

    To register the report, you need to delete the existing report by using the jpcrdef delete command.