Use this function to list and track the tasks (requests) sent to the batch server, either from a request submission or request files placed in a dedicated directory.
You can use it to relaunch and stop tasks, and for starting recurring batch tasks.
You can check the status of the batch server. Each task executed by the batch server is assigned an individual process ID.
Refer to documentation Implementation
The Query management function displays the list of tasks submitted to the server (released or not released) and their statuses.
Presentation
Each line in the Query results grid (table) is a task submitted to the batch server (released or not released). Each task has a status and is displayed using a color. The color reflects the status of the task. The standard colors are as follows:
Close
Fields
The following fields are present on this tab :
Grid Queries
|
This number identifies this task (request). It is a sequential number assigned automatically from an initial number defined in the batch server parameters. |
|
This field defines the folder in which execution of this task was requested. |
|
This code identifies the launched task. |
|
Defines the language in which this task is expressed. |
|
This field defines the code of the user who launched this task. |
|
This field defines the planned start date for this task. |
|
This field defines the planned start time (on the defined date) for this task. |
|
This field is set to 'Yes' or 'No'. If set to 'Yes', this task can only be executed in single user mode for the folder. |
|
This field displays the current status of the task in process. The values are defined in Local menu 21 - Query progress status, as follows:
|
|
This field defines the time of execution of this task (on the defined date). This field is only displayed if this task has been launched and execution is complete. |
|
This field defines the date of execution of this task. This field is only displayed if this task has been launched and execution is complete. |
|
This field is defined by Local menu 20 - Batch Task Type. It defines whether this task has been launched as a process or a script (shellscript or command file) executed on the batch server. |
|
This field displays the code of a process or a script if this (launched) task does not correspond to a basic function. |
|
This field displays the number of the server assigned to this task. |
|
This field displays the (port) number of this task on the defined server. |
|
Each task (request) is executed by a process on the application server. This field identifies the process number (this is usually called the process ID or PID) for this task. |
|
This field, if populated, defines a timeout duration, that is, a time limit above which this task will be stopped automatically if it is still running. |
|
This field is populated if this task belongs to a (launched) group of tasks. The code, if displayed, is common to all tasks in the group. |
|
This field is populated if this task belongs to a (launched) group of tasks. The number, if displayed, is common to all tasks in the group. |
|
This field is populated if this task belongs to a (launched) group of tasks. The number, if displayed, represents the sequence number of this task in the group. |
|
When the batch task is launched at a specified frequency every N minutes, this column defines the value of N. |
|
This field is populated if this task has been subscribed to be executed with a frequency. Each time this task is relaunched this column is incremented by 1. The number displayed represents the number of times this task has been executed. |
|
This field is populated if this task has been launched using a job file (see the corresponding technical appendix). It displays the name of the submitted file (without the extension). |
Block number 2
|
This field displays the number of the current page, along with the total number of pages. |
Close
Action icon
Click Parameter entry from the Actions icon to change the request parameters (whether pending launch or already finished) for this task.
Click Interruption from the Actions icon to interrupt the execution of this task. You will be prompted to confirm your reason for interrupting this task.
Click Modification from the Actions icon to modify prior to launch, the date and time of launch, and the execution priority of this task.
Click Log from the Actions icon to display the trace file for this executed task. The trace file is prefixed 'RQT' followed by the request number. It can be found in the TRA directory of the SERVX3 directory (which is located in the Runtime directory).
Click Relaunch query from the Actions icon to create a new task with the same launch parameters as this (original) task.
By default, execution of the new task is requested for the same day, a few minutes after selecting this action. Use the Modification action to modify the date/time of launch of the new task.
The original task must have been launched in the current folder. It could have been launched by a different user but its relaunch will be performed on the current user's account, after verifying the user's access rights.
Click Restart recur. task from the Actions icon to restart this task as a recurring task.
Close
|
The following fields are included on the window opened through this button : Block number 1
Block number 2
Close Click the Query action to submit a new task request. |
Click the Update action to refresh the task list and corresponding statuses. Alternatively, use the Refresh (F5) key. |
Click the Purge action to purge the table lines. All requests completed on a given date (as defined in a separate window) are deleted from the task list. |
Click the Information action to display the current Batch server details. |
In addition to the generic error messages, the following messages can appear during the entry :
This message is displayed when an attempt is made to delete a task that has been executed.
The request to execute, or the executed request table, is empty. This might occur after a purge or if the batch server has not been started.
There are more lines than the Query manager can display in the table. Only the first n lines are visible.
An attempt has been made to launch a task in a folder other than the current folder.
The server status is displayed (Abled/Disabled), as well as the number of the corresponding process, if it is abled. The submission of tasks is not stopped if the server is not abled (however, they are not executed immediately even if the trigger time has arrived).