Hitachi

JP1 Version 11 JP1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide 


2.7.3 Defining jobs as PC or UNIX jobs

Organization of this subsection

(1) Defining jobs as PC jobs

This subsection explains the items required to define JP1/Advanced Shell batch jobs as PC jobs.

(a) When defining a batch job

  • Executable file name

    Specify the path of the adshexec command in Executable file name in the Definition tab in the Define Details - [PC Job] dialog box or in sc="script-file-name" in the unit definition file.

    installation-folder\JP1ASE\bin\adshexec.exe
  • Parameters

    Specify the options, job definition script file name, and runtime parameters for the adshexec command in Parameters in the Definition tab in the Define Details - [PC Job] dialog box or in prm="parameter" in the unit definition file.

  • Environment variable

    Specify the following details in Environment variables in the Definition tab in the Define Details - [PC Job] dialog box or in env="environment-variable" in the unit definition file.

    AJS_BJEX_STOP=TERM

The following figure provides an example specification of a batch job in JP1/Advanced Shell.

Figure 2‒7: Specification example of the Definition tab in the Define Details - [PC Job] dialog box

[Figure]

(b) When defining a GUI application execution job

This section explains the items required to define a GUI application execution job of JP1/Advanced Shell as a PC job.

  • Executable file name

    Specify the path of the adshappexec command in Executable file name in the Definition tab in the Define Details - [PC Job] dialog box or in sc="script-file-name" in the unit definition file.

    installation-folder\JP1ASE\bin\adshappexec.exe
  • Parameters

    Specify the parameters for the adshappexec command in Parameters in the Definition tab in the Define Details - [PC Job] dialog box or in env="parameter" in the unit definition file.

  • Environment variables and environment variable file name

    Environment variables and the environment variable file name are ignored even if they are specified.

The following figure provides an example specification of a batch job in JP1/Advanced Shell.

Figure 2‒8: Specification example of the Definition tab in the Define Details - [PC Job] dialog box

[Figure]

(2) Defining jobs as UNIX jobs

This subsection explains the items required to define JP1/Advanced Shell batch jobs as UNIX jobs.

The following figure shows a specification example of a JP1/Advanced Shell batch job In this example, the adshexec command is specified for "script file name" and job definition script file path is specified.

Figure 2‒9: Specification example of the Definition tab in the Define Details - [UNIX Job] dialog box (when specifying the adshexec command)

[Figure]

Figure 2‒10: Specification example of the Definition tab in the Define Details - [UNIX Job] dialog box (when specifying a job definition script file path)

[Figure]