RMVLOGEJS (Remove Log Entries from Job Scheduler)
Note: To use this command, have the 5722-JS1 (Job Scheduler for iSeries) licensed program installed.
RMVLOGEJS Command syntax diagram
Purpose
The Remove Log Entries from Job Scheduler (RMVLOGEJS) command allows you to clear the Job Scheduler log based on a date range that you specify.
Optional Parameters
- TYPE
- Specifies the type of entries that you want to clear from the Job Scheduler log. Examples of types of entries are run, submit, maintenance and so on.
*ALL: Selects all log entries to clear within the specified date range.
*RUN: Selects only log entries that were logged during the run process to clear within the specified date range.
*SUBMIT: Selects only log entries that were logged during the submission process to clear within the specified date range.
*MAINT: Selects only log entries that were logged during the maintenance process to clear within the specified date range.
- SLTDATE
- Specifies the range of dates that you want to removing Job Scheduler log information. The From date is the beginning point in the Job Scheduler log and the To date is the ending point.
Element 1: From date
*BEGIN: Uses the earliest Job Scheduler log entry as the beginning point into the Job Scheduler log.
*CURRENT: Uses the current date as the beginning entry point into the Job Scheduler log.
from-date: Specify the date in job date format with or without date separators, that is, 12/01/99 or 120194, that you want to be the beginning date of the range of dates.
number-of-days: Specify a number to represent the number of days before the current day that you want to use for the search. An example would be 10. If today's date were 3/12/99 (date format is mm/dd/yy), the From date for the Job Scheduler log would be 3/2/99.
Element 2: To date
180: The number of days of log entries that remain is 180.
*CURRENT: Uses the current date as the ending date of the date range.
*END: The last date in the log is used as the ending date for the date range.
to-date: Specify the date with or without date separators, that is, 12/01/99 or 120199, that you want to use as the ending date of the date range.
number-of-days: Specify a number to represent the number of days before the current day that you want to use for the search. An example would be 10. If today's date were 3/22/99 (date format is mm/dd/yy), the To date for the Job Scheduler history file would be 3/12/99.
Example for RMVLOGEJS
Example 1: Removing All Log Entries
RMVLOGEJS TYPE(*ALL) SLTDATE('3/12/99' '4/12/99')In the example, all log entries are removed for the period March 12, 1999 to April 12, 1999. SLTDATE is expressed in mm/dd/yy format in this example.
Error messages for RMVLOGEJS