Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command, Definition File and API Reference


jcofuncfcheck (Windows only)

Organization of this page

Function

This command checks for definition errors in the definition files for executing applications and the definition file for the Tool Launcher window in a specified directory, and then outputs the analysis results to standard output.

The analysis results are output in the following formats:

Function tree definition

tree-hierarchy "displayed-character-string" [,"execution-command-path"]

Function toolbar definition

row = column

"displayed-character-string"[,"execution-command-path"]

Note:

The Function toolbar definition heading and information are displayed only when one of the following directories is specified as the Tool Launcher window definition directory:

View-path\conf\function\ja

View-path\conf\function\en

The analysis results contain the application execution definition identifier defined in the system ("default_browser" indicating the default Web browser definition used in Central Console) and the Tool Launcher window identifier ("root" indicating the highest node of the menu tree).

Format

jcofuncfcheck application-execution-definition-directory-name
              Tool-Launcher-window-definition-directory-name

Execution permission

None

Storage directory

View-path\bin\

Arguments

application-execution-definition-directory-name

Specifies the directory containing the definition files for executing applications that are to be checked, expressed as an absolute path or a path relative to the current directory. This cannot be a file name.

Tool-Launcher-window-definition-directory-name

Specifies the directory containing the definition file for the Tool Launcher window that is to be checked, expressed as an absolute path or a path relative to the current directory. This cannot be a file name.

Example

Execute the command on the following definition files:

Definition file for executing applications

@file type="application-execution-definition", version="0300";
@define-block type="application-execution-def";
id="notepad";
path="C:\winnt\system32\notepad.exe";
@define-block-end;
@define-block type="application-execution-def";
id="dmp";
path="[\HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\NETM/DM/P\0521/A\PathName\Path00]\bin\DMPSTS.exe";
@define-block-end;

Definition file for the Tool Launcher window

@file type="function-definition", version="0300";
@define-block type="function-tree-def";
id="node1";
parent_id="root";
name="Node 1";
@define-block-end;
@define-block type="function-tree-def";
id="node11";
parent_id="node1";
name="Node 11";
icon="%JCO_INSTALL_PATH%\image\1206.gif";
execute_id="default_browser";
args="http://";
@define-block-end;
@define-block type="function-tree-def";
id="node2";
parent_id="root";
name="Node 2";
icon="%JCO_INSTALL_PATH%\image\1206.gif";
execute_id="notepad";
@define-block-end;
@define-block type="function-tree-def";
id="node3";
parent_id="root";
name="Node 3";
icon="%JCO_INSTALL_PATH%\image\1206.gif";
execute_id="dmp";
@define-block-end;

The analysis results are output as follows:

Function tree definition
  "Integrated Management"
   "Node-1"
     "Node 11","C:\Program Files\Netscape\Communicator\Program\netscape.exe"
     "Node 2","C:\winnt\system32\notepad.exe"
     "Node 3","C:\NETMDMP\bin\DMPSTS.exe"
Function toolbar definition
  row=1
   "Node 11","C:\Program Files\Netscape\Communicator\Program\netscape.exe"
   "Node 2","C:\winnt\system32\notepad.exe"