3.1.2 Defining batch jobs as PC jobs
This subsection explains the items required to define JP1/Advanced Shell batch jobs as PC jobs.
- Organization of this subsection
(1) 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.