Observe Definition file
After installation, change the default settings as necessary according to the system environment that is being used.
HULFT must be restarted in order to apply the changes made to the Observe Definition file.
(1) File Name
The name of the Observe Definition file is 'service.db.' You cannot change this name. The Observe Definition file is placed in the path (HULPATH) in which the system file used by HULFT exists.
(2) Description Format
A line with '#' at the beginning is considered as a comment line. A blank line is also acceptable. Several blank lines are also acceptable.
The space code (0x20) or tab code (0x09) is used as the delimiter between fields.
-
If the Observe Definition file (service.db) is not described correctly, the request is not received. Make a backup when the Observe Definition file is modified.
-
If you would like to use a space in the startup command, enclose the whole message within double quotations.
(3) Record Layout
As the Observe Definition file does not contain binary data, it can be created with an editor such as vi. The record is described in each service.
(4) Explanation of each field
The following provides an explanation of each field.
- Log output
-
The Observe Log output mode related to the corresponding service name is specified.
- 0:
-
Do not output the Observe Log for the service
- 1:
-
Output the Observe Log for the service
Even if '0' is set, the Observe processing is carried out properly.
= Remarks =The results of each service are always output to the file that is specified for the service.
- Service name
-
The service name to be defined is described.
- Program name
-
The startup service program is described for the service name.
(5) Setting Example
# HULFT8 Observe Definition File # # logflg log output flag 0:No output 1:Output # service Service name # program Startup service program # #logflg service program 1 SEND 1 RESEND 1 HULSNDRC hulsndrc -l /tmp/SNDRCLOG 1 HULJOB huljob 1 HULRJOB hulrjob -l /tmp/RJOBLOG 1 HULADMIN huladmin 1 HULTRG /tmp/TRGLOG 1 TRGCONF