Observe Log Delete command
A record of data is stored in the Observe Log each time the request of the Send Request, the Resend Request, and the like is acknowledged. Delete unnecessary data at regular intervals.
Format of command
utlobsrm {-s service|-a} [[-from Date1] [-to Date2] [-i]| -day n|-lastweek|-lastmonth]
Explanation of the parameters
- -s service|-a
-
Name of the service whose log records are to be deleted (Mandatory)
Specify the name as an alphanumeric character string within 8 bytes.
- -s service:
-
The log records of the service with the specified service name are deleted
- -a:
-
The log records for all service names are deleted
You can omit this parameter only when -i is specified.
= Remarks =For details on the service names, refer to the following:
HULFT10 for Windows Administration Manual : Filter settings for log (message) output
- -from Date1 -to Date2
-
Date of deletion (Optional)
Specify this parameter in a numeric string within 8 bytes.
Specify the date in the format that is specified for Date Format (datefmt) in the System Environment Settings.
It is necessary to specify the date in the range of Date1<=Date2. The specified Date1 and Date2 also become targets for deletion.
When '-from' is omitted, all the dates up to the date specified in '-to' will be displayed.
When '-to' is omitted, all the dates from the date that is specified in '-from' will be displayed.
When both are omitted, all the dates will be displayed.
- -i
-
Interactive mode (Optional)
Enter the range of the service name and date according to the message displayed.
- -day n
-
Number of days that are not targeted for deletion (Optional)
Specify the value within a range from '1' to '366.' HULFT will keep the log records within the range of the specified number of days from the current day, and will delete the rest.
- -lastweek
-
Log deletion up to the previous week (Optional)
Log records up to the Saturday of the previous week are deleted (log records of the Saturday of the previous week are included in the deletion).
- -lastmonth
-
Log deletion up to the previous month (Optional)
Log records up to the end of the previous month are deleted (log records of the last day of the previous month are included in the deletion).
Note
Confirm that there is sufficient disk space before you delete log records.
Remarks
-
Multiple specifications of date related parameters are not possible. Specify one of the following parameters:
-
-from and -to
-
-day
-
-lastweek
-
-lastmonth
-
-
You can use interactive mode (-i) only when you specify the parameter -from or -to in the date related parameters.