Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Configuration Guide


6.4.2 Executing a job that requires a user profile in a queueless job execution environment

Normally, the process execution environment in which jobs can be executed requires only system environment settings. However, some jobs require user profile information that is loaded from the OS user's logon session for correct execution. This subsection describes the setting for correctly executing a job that requires user profile information. If this setting is enabled, user profile information is loaded for all PC jobs executed on the specified agent host. The following describes how to change the settings for executing a job that requires a user profile.

Organization of this subsection

(1) Definition procedure

  1. In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • JP1/AJS3 Queueless Agent service

  2. Execute the following command to set the environment setting parameters described in (2) below:

    jajs_config -k definition-key "parameter-name"=value
  3. Restart the service that you stopped in step 1.

    The new settings are applied.

(2) Environment setting parameter

Table 6‒72: Environment setting parameter used to execute a job that requires a user profile in a queueless job execution environment

Definition key

Environment setting parameter

Explanation

[{JP1_DEFAULT|logical-host}\JP1QLAGENT]#

"AJSQL_LOADUSERPROFILE"=

Specifies whether the user profile is to be loaded.

#:

The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.

For details about the definition of this environment setting parameter, see 20.10.2(27) AJSQL_LOADUSERPROFILE.