Job Management Partner 1/Automatic Job Management System 3 Troubleshooting

[Contents][Glossary][Index][Back][Next]


2.7.2 Troubleshooting problems related to standard jobs, action jobs, and custom jobs

This subsection describes how to troubleshoot problems that might occur when you execute standard jobs, action jobs, and custom jobs.

Organization of this subsection
(1) Executing a standard job, action job, or custom job results in a startup failure
(2) Executing a standard job, action job, or custom job results in an abnormal end
(3) The status of a standard job, action job, or custom job does not change
(4) Registering a standard job, action job or custom job, or manipulating a queue results in an access permission error
(5) The shell does not read environment variables (AIX only)
(6) A job ends normally without executing the job process

(1) Executing a standard job, action job, or custom job results in a startup failure

Possible causes are as follows:

(2) Executing a standard job, action job, or custom job results in an abnormal end

Possible causes are as follows:

(3) The status of a standard job, action job, or custom job does not change

Possible causes are as follows:

(4) Registering a standard job, action job or custom job, or manipulating a queue results in an access permission error

An invalid access permission has been set for the JP1/Base authentication server.

Specify the correct access permission for the JP1_Queue resource group. Registering jobs and manipulating queues require one of the following permissions: JP1_JPQ_Admin, JP1_JPQ_Operator, and JP1_JPQ_User.

(5) The shell does not read environment variables (AIX only)

In AIX, the information in /etc/environment is not inherited.

See the explanation in 12.4.1 Changing the login scripts in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1, and change the login script. The following example shows how to change the login script:

 
if [ ${JP1JobID:-""} != "" ]; then
 . /etc/environment
fi
 

After /etc/environment has been read, execute the export command for the environment variable to be specified.

Cautionary notes
  • The above setting is valid only for sh (.profile). It is invalid for other shell scripts such as csh.
  • When you specify the above setting, /etc/environment is read into the login script, possibly causing and the setting sequence of the information to change. Therefore, when you add processing that reads /etc/environment into the login script, check whether the environment variables set in /etc/environment are also specified in the login script. In addition, be careful about where you add /etc/environment. We recommend that you set the login script to read /etc/environment at the beginning of the login script.

(6) A job ends normally without executing the job process

In UNIX, JP1/AJS3 executes the login script when it executes a job. When the login script contains a command that ends the login script, such as the exit command shown below, the job ends normally before the job process is executed.

 
 /usr/bin/sh ; exit
 

To avoid premature ending of the job, change the login script so that the exit command is not executed.

For details about how to change the login script, see 12.4.1 Changing the login scripts in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1.

[Contents][Back][Next]


[Trademarks]

Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.