3.1.1 Defining and executing a jobnet
To automate job execution in JP1/AJS, you can define registered custom jobs, PC jobs (for Windows), or UNIX jobs (for UNIX) into a jobnet in JP1/AJS - View, and then execute the jobnet. For details about JP1/AJS - View, see the description of job definition in the Job Management Partner 1/Automatic Job Management System 3 Operator's Guide.
To define and execute a jobnet in JP1/AJS3 - View:
From the Windows Start menu, select All Programs, JP1_Automatic Job Management System 3 - View, and then Job Management System.
The JP1/AJS3 - View - Login window is displayed.
To log in, specify your user name, password, and the host to connect.
The JP1/AJS3 - View window is displayed.
Select Edit, New, then Jobnet.
The Define Details - [Jobnet] dialog box is displayed.
Specify information including attributes of the jobnet, and then click the OK button.
Specify the appropriate information in Exec-agent according to the operating environment. This information can be omitted. For details about the JP1/AJS items, see the applicable JP1/AJS manual.
The jobnet is created and displayed in the list area.
Double-click the created jobnet.
The Jobnet Editor window is displayed.
Select Exclusive edit so that no other user can access the job while you are defining and associating it.
Drag the required custom job, PC job, or UNIX job icon from the icon list to the map area. Drag the required custom job, PC job, or UNIX job icon from the icon list to the map area.
The Define Details - [Custom Job], Define Details - [PC Job], or Define Details - [UNIX Job] dialog box is displayed.
The subsequent steps vary depending on whether you want to use PC jobs or UNIX jobs.
To use PC jobs, see 3.1.2 Defining batch jobs as PC jobs. To use UNIX jobs, see 3.1.3 Defining batch jobs as UNIX jobs.
- Organization of this subsection
(1) Notes about jobnet definitions
Run-time directory to be used when JP1/Advanced Shell's job controller is started from JP1/AJS
When JP1/Advanced Shell's job controller is started from JP1/AJS, the run-time directory is set to the one that is used when JP1/AJS - Agent (or JP1/AJS - Manager) starts JP1/Advanced Shell's job controller. For details about the run-time directory that is used when JP1/AJS - Agent (or JP1/AJS - Manager) starts JP1/Advanced Shell's job controller, see the manual Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1. In the JP1/AJS manuals, the run-time directory is referred to as a work path (work directory).
-
Environment variables to be used when JP1/Advanced Shell's job controller is started from JP1/AJS
Normally, when JP1/Advanced Shell's job controller for Windows is started from JP1/AJS, the system environment variable settings are enabled when the JP1/AJS services are started and no user environment variables are loaded. For details, see the applicable JP1/AJS manual.
-
Connecting to an overseas version of JP1/AJS - Manager whose language is set to English
When connecting to an overseas version of JP1/AJS - Manager whose language is set to English, in the Define Script Execution dialog box, in the definition information, use only ASCII alphanumeric characters.