Top
Systemwalker Operation Manager  User's Guide
FUJITSU Software

4.3.2 Adding User-Defined Job Icons/Categories

The user-defined icons and categories can be used as the job icons and categories used in the New/Change Job Net window. The created icons and categories are displayed in the icon selection area and the category selection combo box in the New/Change Job Net window.

The user-defined icons and categories are defined in the Jobicon.ini file.

The following describes the Jobicon.ini file.

Storage path

The Jobicon.ini file is stored in the following location of a machine with the client functions installed.

Systemwalker Operation Manager installation directory \Mpwalker.JM\mpjmcl\etc\icon

Description Format

[category-name]
JOB
explain description
iconID ID-number
jobname job-name
parameter parameters
jobcomment comment
iconPath file-path
;

Definition items

Category Name

Specify with a string of 64 bytes or less. This is a mandatory item.

explain:

The explanation displayed after placing the mouse cursor on an icon for a while in the icon selection area. Specify with a string of 64 bytes or less.

iconID:

The ID to identify user-defined jobs. Enter a number from 1 to 100. It is not allowed to specify the same iconID to jobs with different definitions. This is a mandatory item.

jobname:

Specifies a batch file (Window version) or shell script (UNIX version), a command, an execution program, a Systemwalker script or a JCL to be started as a job. Specify with a string of 64 bytes or less. The double quotation symbol cannot be used.

parameter:

The parameter to be passed to the command. Specify with a string of 1024 bytes or less. You cannot use the double quotation symbol.

jobcomment:

The comment displayed in the comment field in the Standard information sheet of the Add/Change/Monitor-Job window. Specify with a string of 64 bytes or less. You cannot use the double quotation symbol.

iconPath:

Specifies the path to the icon image file. When the image file is stored under the Systemwalker Operation Manager installation directory \Mpwalker.JM\mpjmcl\etc\icon, just specify the file name. When stored in somewhere else, specify the full path.

The file extensions that can be specified are ico, exe and dll. When omitted, the command execution icon will be set.

Entry rules

Sample definition

The following shows the sample definition to register two jobs each to the "Customer data update" and "Server log collection" categories and one job to the "Other operations" category.

[Update the customer data]
JOB
explain Update_customer_data_of_Kawasaki_Branch
iconID 1
jobname c:\copyData.exe
parameter -p -l c:\copylog -g Kawasaki
jobcomment Update_customer_data_of_Kawasaki_Branch
iconPath copyKawasaki.ico
;
JOB
explain Update_customer_data_of_Tokyo_Headquarter
iconID 2
jobname c:\updateData.exe
parameter -g Tokyo
jobcomment Update_customer_data_of_Tokyo_Headquarter
iconPath update.ico
; 
[Collect server logs] 
JOB
explain Collect_logs_of_local_servers
iconID 3
jobname c:\getlog -d -m 'Kawasaki Kyoto Tokyo'
jobcomment Collect_logs_of_local_servers
iconPath c:\Getlog\getlog.ico
; 
JOB
explain Collect_logs_of_basic_systems
iconID 4
jobname c:\getlogEx
jobcomment Collect_logs_of_basic_systems
iconPath c:\Getlog\getlog.exe
; 
[Other operations] 
JOB
explain Operate_customer_data
iconID 5
iconPath C:\MyIcon\opData.ico
;

Notes