Hitachi

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


6.4.3 Preventing a queueless job from ending abnormally with return value 128

If all of the following conditions are satisfied when a queueless job is executed, the job might end abnormally with return value 128:

  1. There is an OS user who is not currently executing any jobs.

  2. The OS user in condition 1 executes a job.

  3. At the moment the job in condition 2 terminates, the OS user executes another job.

If a job ends abnormally when the above conditions are satisfied, you can prevent the abnormal termination and have the job end normally by setting the AJSQL_CREATEWINDOWSTATION environment setting parameter. The following describes how to set this environment setting parameter.

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‒73: Environment setting parameter used to prevent a queueless job from ending abnormally with return value 128

Definition key

Environment setting parameter

Explanation

[JP1_DEFAULT\JP1QLAGENT]

"AJSQL_CREATEWINDOWSTATION"=

Specifies whether to prevent a job from ending abnormally with return value 128.

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

(3) Notes