11.2.8 Allowing each JP1 user to use different custom jobs and custom event jobs
You can set JP1/AJS3 to allow each JP1 user to use different custom jobs and custom event jobs.
By saving the custom job registration information and the custom event job registration information for each JP1 user in a separate folder, different custom jobs and custom event jobs can be displayed in the Jobnet Editor window for each JP1 user who is logged in.
Custom jobs are displayed in the Custom Jobs tab of the icon list in the Jobnet Editor window. This tab displays only the custom jobs that are registered in the folder that contains the custom job registration information for the JP1 user who is currently logged in. This folder is called the custom job registration information folder. For JP1 users who share the same custom job registration information folder, the same custom jobs are displayed in the icon list.
Likewise, custom event jobs are displayed in the Custom Events tab of the icon list in the Jobnet Editor window. This tab displays only the custom event jobs that are registered in the folder that contains the custom event job registration information for the JP1 user who is currently logged in. This folder is called the custom event job registration information folder. For JP1 users who share the same custom event job registration information folder, the same custom event jobs are displayed in the icon list.
If the multiuser remote desktop connection function is enabled, we recommend that you set JP1/AJS3 to allow each JP1 user to use different custom jobs. For details about how to enable the multiuser remote desktop connection function, see 11.2.7 Allowing multiple users to concurrently use JP1/AJS3 - View via remote desktop connections.
To allow each JP1 user to use different custom jobs and custom event jobs, the following setting is necessary.
-
For custom jobs
You must specify the settings in the user-specified option file. You must also specify the custom job registration program to be used for registering custom jobs.
-
For custom event jobs
You must specify the settings in the user-specified option file. To register custom event jobs, use commands of JP1/AJS3 for Cloud Service Applications. For details about commands, see JP1/Automatic Job Management System 3 for Cloud Service Applications.
For details about how to specify the above settings, see the following sections.
- Organization of this subsection
(1) Specifying the settings in the user-specified option file for custom jobs
This section describes how to specify the settings in the user-specified option file for custom jobs.
- Specify from:
-
A JP1/AJS3 - View file (User-specified option file)
For details, see 11.1.1 Types of customization methods.
- Specification
-
Use the following format:
jajsCustomJobDirectory=folder-name (return)
The specification conventions for folder-name are as follows:
-
You can use only single-byte alphanumeric characters and the following symbols: hyphens (-) and underscores (_).
-
The maximum length is 31 bytes.
The folder names shown in the following table will be used for the custom job registration information folder:
Table 11‒6: Custom job registration information folder No.
Folder name specified
Custom job registration information folder
1
No
%ALLUSERSPROFILE%#1\HITACHI\JP1\JP1_DEFAULT\JP1AJS2V\custom.dir
2
Yes
%ALLUSERSPROFILE%#1\HITACHI\JP1\JP1_DEFAULT\JP1AJS2V\custom.dir\extend#2\folder-name
-
(2) Setting the custom job registration program for each JP1 user
How to set the custom job registration program:
Procedure
-
Create the custom job registration information folder.
Create a folder named extend directly under the custom job registration information folder (custom.dir), and then, directly under the extend folder, create the folder that you specified in the user-specified option file.
For details about the custom job registration information folder, see (1) Specifying the settings in the user-specified option file for custom jobs.
-
Set the read and write permissions for the custom job registration information folder that you created in step 1.
-
Create a shortcut to the following file:
%ALLUSERSPROFILE%\HITACHI\JP1\JP1_DEFAULT\JP1AJS2V\custom.dir\Cjobregm.exe
The default value for %ALLUSERSPROFILE% is system-drive\ProgramData.
-
In the Properties dialog box for the shortcut that you created in step 3, open the Shortcut tab, and then, in Start in, specify the custom job registration information folder that you created in step 1.
-
From the shortcut that you created in step 3, register the custom jobs that the target JP1 user can use.
Cautionary notes
-
If you want to use the extended custom job settings file, you must place it in the custom job registration information folder that you created.
-
You must copy the following file to the custom job registration information folder that you created:
%ALLUSERSPROFILE%\HITACHI\JP1\JP1_DEFAULT\JP1AJS2V\custom.dir\CJX.xsd
The default value for %ALLUSERSPROFILE% is system-drive\ProgramData.
-
If the folder specified in the user-specified option file does not exist, the KAVV103-E message is output and the custom job registration information is saved in the folder that is used when a folder name is not specified in the user-specified option file.
(3) Specifying the settings in the user-specified option file for custom event jobs
This section describes how to specify the settings in the user-specified option file for custom event jobs.
- Specify from:
-
A JP1/AJS3 - View file (User-specified option file)
For details, see 11.1.1 Types of customization methods.
- Specification
-
Use the following format:
jajsCustomEventJobDirectory=folder-name (return)
The specification conventions for folder-name are as follows:
-
You can use only single-byte alphanumeric characters and the following symbols: hyphens (-) and underscores (_).
-
The maximum length is 31 bytes.
The folder names shown in the following table will be used for the custom event job registration information folder:
Table 11‒7: Custom event job registration information folder No.
Folder name specified
Custom event job registration information folder
1
No
%ALLUSERSPROFILE%#1\HITACHI\JP1\JP1_DEFAULT\JP1AJS2V\customevent.dir
2
Yes
%ALLUSERSPROFILE%#1\HITACHI\JP1\JP1_DEFAULT\JP1AJS2V\customevent.dir\extend#2\folder-name
-