Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 Command Reference 1


1.5.6 Commands used to execute jobs

The following table lists the commands used to execute a single job, not a jobnet.

Command execution requires you to register the OS user executing commands with the authentication server as a JP1 user. The privilege required to execute commands is shown on a command basis. As required, you should give the privilege to the JP1 user. For details about the execution privilege, see 6.4 Setting access permissions in the Job Management Partner 1/Automatic Job Management System 3 System Design (Work Tasks) Guide.

Cautionary note

If the "Required privileges" column lists more than one privilege, you need only have one of the listed privileges to execute the command.

Table 1‒13: Commands used to execute jobs

Function

Command name

Windows

UNIX

Required privileges

Supported products

Executes the program specified as an argument, and saves the return code of the program in a temporary file.

jp1exec

Y

--

None

M and A

Returns the return code that was saved by the jp1exec command.

jp1exit

Y

--

None

M and A

Legend:

Y: Supported

--: Not supported

M: JP1/AJS3 - Manager

A: JP1/AJS3 - Agent

Note

On a Windows Server 2012 or Windows Server 2008 host, before you execute a command that must be executed by a member of the Administrators group, make sure that you open the Command Prompt window as an administrator. If the UAC function is disabled, you do not need to open the Command Prompt window as an administrator.