• No results found

Figure 4‒3: The Import of unit definition dialog box (When the user authentication function is used)

You can also open the definition information management template directly by double-clicking the master file, or from JP1/AJS3 - View.

2. Click the IMPORT button.

The Import of unit definition dialog box is displayed. If the JP1 user name, the name of the manager host to be connected, the name of the scheduler service, and the unit name to be imported have been set in the environment settings file, the values set will be displayed as the defaults.

Figure 4‒2: The Import of unit definition dialog box (When the user authentication function is not used)

Figure 4‒3: The Import of unit definition dialog box (When the user authentication function is used)

3. Enter the information for the import target.

Enter the following items:

• User name (Only when the user authentication function is used) Specify the JP1 user name that will be used for import.

• Password (Only when the user authentication function is used) Specify the password of the JP1 user that will be used for import.

• Host name

Enter the name of the manager host from which to perform import.

• Service name

Enter the name of the scheduler service from which to import.

• Character code type

This field displays a grayed out drop-down list with C selected, which indicates that the character code type of the connection target is assumed to be C.

• Unit name

Enter the complete name of the unit. Wildcards such as * and ? can be used for a unit name at the lowest level, but cannot be used for the complete name of an upper unit. The following are example unit names.

/

Imports the definition information of all units under the root job group.

/GROUP

Imports the definition information of all units under /GROUP.

/GROUP/NET/*

Imports all definition information for units under /GROUP/NET.

/GROUP/NET/A*

Imports definition information for units with unit names starting with A, under /GROUP/NET.

The input items in the Import of unit definition dialog box cannot be omitted.

4. Click the OK button.

Import processing starts.

5. Check the import results.

If import terminates normally, the KAVZ0302-I message dialog box is displayed. Click the OK button, and check the execution results, which are output to an execution result file. For details about the name of these files and the folder to which the files are output, see A.2 Files created during import and export. The information for any messages output to the definition information management template is displayed above the input and display fields. Act accordingly based on the displayed message ID.

Note that you can perform automatic import when the template is opened, by specifying the environment settings parameters ahead of time. For details about the environment settings parameters, see 3.2 Environment settings parameters.

4.3 Exporting definition information

Enter information for jobnets and jobs into the definition information management template, and send it to the manager host for registration. There are four kinds of export operations: batch export, individual export, modification and deletion.

To perform export, first enter jobnet and job information in the definition information management template.

If defined units already exist, you can facilitate definition by importing the units' definition information, and adding any changes to the execution result file. If an import or export execution result file already exists, you can open it to add changes.

In addition to using existing execution result files, you can also enter unit definition information into a new definition information management template. In this case, copy the master file of the definition information management template (installation-folder-of-JP1/AJS3 - Definition-Assistant\bin\AJS2DAMASTER.xls), save it under another name, and open it to enter unit definition information. For details about how to create definition information, see 4.3.1 Creating unit definitions. Note that export cannot be performed from the master file of the definition information management template. Always copy the file and save it under another name.

When you finished entering and editing definition information, click the EXPORT button to send the definition information to the manager host.

When export is performed with multiple functions specified, processing is performed in the following order: batch, individual, change, and delete. When you use the batch definition function for export, the export is not completed even if just one error occurs. When you use the individual definition function, modification function, and deletion function for export, the operation continues even if an error occurs. Note that when both batch definition and individual definition are used, the operation of the individual definition function continues even if an error occurs in the batch definition function.

When export is performed with multiple functions, the unit name specified in the Export of unit definition dialog box is valid for all units whose section is specified as Batch. The export destination of units whose section is specified as Individual, Change, Delete is determined by Unit name and Complete name of upper unit in the Unit definition information section.

Once export has been performed, you can facilitate management of the updated information by importing the latest definition information and saving it to an execution result file.

4.3.1 Creating unit definitions

This subsection explains how to create units for jobnets and jobs when performing export by entering unit definition information into the management template.

Define unit (job groups, jobnets, and jobs) information in the definition information management template, with one unit per line, starting with the upper unit. When you define the units below first, an error may occur during export.

When defining multiple units, make sure there are no empty lines between them.

The items to be input when defining units in the definition information management template are as follows:

1. Unit name

Enter the name of the unit to be defined. You must specify a name because processing will not be performed for the lines that follow this one if it is omitted.

2. Complete name of upper unit

Enter the complete name of the unit above that to be defined. The unit name and the complete name of the upper unit are necessary to identify the unit to be exported, so specify the complete name of the upper unit. You may leave this blank if the upper unit is a root jobnet.

3. Unit type

Specify a string indicating the unit type, in 1 to 4 characters. For details about the strings to be specified, see the comments for the definition information management template, or 5.1 List of definition items.

4. Other information

Here you can define information corresponding with the unit type specified above. For details about definition items, see 5.1 List of definition items. Depending on the unit type, there may be items that cannot be defined in JP1/AJS3 - Definition Assistant. For details about the items that cannot be defined, see 5.2 Support status of the definition items in JP1/AJS3 - View.