Query management

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.

Prerequisite

SEEREFERTTO Refer to the implementation documentation.

Screen management

The query management function displays the list of tasks submitted to the server (released or not released) and their statuses.

Entry screen

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:

  • Green. Task currently being executed.
  • Black. Task finished without error.
  • Red. Task interrupted or terminated with errors.
  • Blue. Task pending execution.

Specific Buttons

Delete

Click the Delete action to delete the current task.

 This action is only available for tasks pending execution. Use the Stop action if the task is in progress; use the Purge action if the task has finished.

Query

Click the Query action to submit a new task request.

Update

Click the Update action to refresh the task list and corresponding statuses. Alternatively, use the Refresh (F5) key.

Log

Click the Log action to display the general trace file for the server (start time, request launch, end of request). The trace file is called server.tra. It can be found in the TRA directory of the SERVX3 directory (which is located in the runtime directory).

Purge

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.

Information

Click the Information action to display the current Batch server details.

Error messages

In addition to the generic error messages, the following messages can appear during the entry:

The request is no longer waiting to be executed: Cancellation impossible.

This message is displayed when an attempt is made to delete a task that has been executed.

No request in progress

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.

Full grid

There are more lines than the Query manager can display in the table. Only the first n lines are visible.

This task should be activated from the XXXX folder.

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).

Tables used

SEEREFERTTO Refer to the implementation documentation.