Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Log for BRM (DSPLOGBRM) command displays the BRMS log. The BRMS log is a display by date and time of messages that BRMS has created as a result of processing. The DSPLOGBRM command allows you to display or print all or part of the log.
To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
TYPE | Type | *ALL, *ARC, *BKU, *MAINT, *MED, *MGR, *RCY, *RTV, *SEC | Optional, Positional 1 |
PERIOD | Time period for log output | Element list | Optional |
Element 1: Start time and date | Element list | ||
Element 1: Beginning time | Time, *AVAIL | ||
Element 2: Beginning date | Character value, *CURRENT, *BEGIN | ||
Element 2: End time and date | Element list | ||
Element 1: Ending time | Time, *AVAIL | ||
Element 2: Ending date | Character value, *CURRENT, *END | ||
SEV | Severity | 0-99, 00 | Optional |
OUTPUT | Output | Optional | |
DETAIL | Detail | *BASIC, *FULL | Optional |
USER | User | Name, *ALL | Optional |
MSGID | Message identifier | Name, *ALL | Optional |
Top |
Specifies the type of entry for which you want to review log entries.
Note: The default parameter for Type (TYPE) parameter depends on the area that you use to access this command. For instance, if you access this command from a backup menu, the default Type is *BKU. If you access the command from the archive menu, the default Type is *ARC and so on. If you type the command on a command line or from the System Policy display, the default is *ALL.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Note: The BRMS Advanced feature (Option 2) is required to use this value.
Top |
Specifies the period of time for which the log entries are selected for the display or report.
Element 1: Beginning time and date
Log entries created on or after the beginning date and time are selected. Log entries created prior to the beginning date and time are not selected.
Element 1: Beginning time
Specifies the beginning time at which or after log entries are selected.
The time is specified in 24-hour format and can be specified with or without a time separator:
Element 2: Beginning date
Specifies the beginning date for which the log entries are selected.
Element 2: Ending time and date
Log entries created on or before the ending date and time are selected. Log entries created after the ending date and time are not selected.
Element 1: Ending time
One of the following is used to specify the ending time before which log entries are included. Any items created after the specified time and date are not included in the log entries for the report.
Specifies the ending time at which or before log entries are selected.
The time is specified in 24-hour format and can be specified with or without a time separator:
Element 2: Ending date
Specifies the ending date for which the log entries are selected.
Top |
Specifies the message severity level that you want to include in the display or print. For example, a severity level of 30 would include all messages that are severity level 30 and above. The severity level can be specified from 0 to 99.
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
The report that is produced is the BRMS Log report. The report, if printed, is written to the printer file QP1ALG.
Top |
Specifies the format used for the printed output.
Top |
Specifies the name of the user profile for the log entries that you want to display or print.
Top |
Specifies the message identifier for the log entries that you want to display or print.
Top |
Example 1: Displaying BRMS Log Entries for a Date Range and Severity Level
DSPLOGBRM TYPE(*BKU) PERIOD((*AVAIL *BEGIN) (*AVAIL *END)) SEV(20)
This command displays backup log entries and the range of dates is from the beginning of the log to the end of the log. Log entries related to backups will be displayed in the Display BRM Log Information display that have a severity level of 20 or above.
Top |
*ESCAPE Messages
Top |