A useful tool for analyzing success or failure of daily BRMS operations is the Backup and Recovery Log (BRMS log). The BRMS log provides a running summary of all save, restore and media related messages received during BRMS operations. You can view the messages in the log using the Display Log for BRM (DSPLOGBRM) command. The default behavior of the DSPLOGBRM command is to only show the messages for the current day, with the display positioned to the most recent entry. You can use the Time period for log output (PERIOD) parameter on the command to specify a date and time window for log messages you want to display. The information provided on the Message View of the Display BRM Log Information display includes the date, time and first level text for the messages.
Display BRM Log Information RCHAS400 Current date/time . . . . . : 12/23/05 10:27:53 Position to date . . . . . . : 12/20/05 Date sent Time sent Message 12/20/05 14:46:22 Devices TAP07 will be used for control group *N type *BKU 12/20/05 14:46:23 Starting save of library KLD to devices TAP07. 12/20/05 14:47:26 Save or restore operation ended unsuccessfully. 12/20/05 15:22:20 Devices TAP07 will be used for control group *N type *BKU 12/20/05 15:25:34 Save operation canceled. 12/20/05 15:34:26 Devices TAP07 will be used for control group *N type *BKU 12/20/05 15:34:41 Save operation canceled. 12/21/05 10:03:37 Devices TAP07 will be used for control group *N type *BKU 12/21/05 10:14:51 Save operation canceled. 12/21/05 10:29:16 Devices TAP07 will be used for control group *N type *BKU 12/21/05 10:38:43 Save operation canceled. 12/21/05 11:01:09 Estimated update time is 0 hours and 11 minutes. Bottom Press Enter to continue. F3=Exit F4=Message details F5=Refresh F11=Alternate view F12=Cancel F17=Top F18=Bottom
The Alternate View of the Display BRM Log Information display shows the message identifier, a BRMS assigned severity and area, and the job information.
The Current date/time prompt displays the current system date and time and is updated each time the screen is refreshed.
Use the Position to date to quickly position the display to messages starting on a specific date. You can only position within the date range you specified on the PERIOD parameter.
Display BRM Log Information RCHAS400 Current date/time . . . . . : 12/22/05 13:47:12 Position to date . . . . . . : 12/20/05 Date sent Time sent Msg ID Sev Area Job User Job Nbr 12/20/05 14:46:22 BRM1669 10 *BKU QPADEV0008 MARILIN 055318 12/20/05 14:46:23 BRM1058 00 *BKU QPADEV0008 MARILIN 055318 12/20/05 14:47:26 CPF3794 70 *BKU QPADEV0008 MARILIN 055318 12/20/05 15:22:20 BRM1669 10 *BKU QPADEV0008 MARILIN 055318 12/20/05 15:25:34 BRM1646 40 *BKU QPADEV0008 MARILIN 055318 12/20/05 15:34:26 BRM1669 10 *BKU QPADEV0008 MARILIN 055318 12/20/05 15:34:41 BRM1646 40 *BKU QPADEV0008 MARILIN 055318 12/21/05 10:03:37 BRM1669 10 *BKU QPADEV0005 MARILIN 055426 12/21/05 10:14:51 BRM1646 40 *BKU QPADEV0005 MARILIN 055426 12/21/05 10:29:16 BRM1669 10 *BKU QPADEV0005 MARILIN 055426 12/21/05 10:38:43 BRM1646 40 *BKU QPADEV0005 MARILIN 055426 12/21/05 11:01:09 BRM402C 00 *MAINT QPADEV000F SPHANK 055409 Bottom Press Enter to continue. F3=Exit F4=Message details F5=Refresh F11=Message view F12=Cancel F17=Top F18=Bottom
You can place the cursor over any message, in either view, then press F4 to see the detailed text of the message.
Additional BRM Log Information RCHAS400 Message ID . . . . . . . . : BRM1646 Severity . . . . . . . : 40 Job . . . : QPADEV0008 User . . : MARILIN Number . . . . : 055318 Date sent . . . . . . . . : 12/20/05 Time sent . . . . . . : 15:25:34 Program . . . . . . . . . : Q1AC0DV Area . . . . . . . . . : *BKU Message . . . . : Save operation canceled. Cause . . . . . : Operation was canceled because devices TAP07 were not ready. Bottom Press Enter to continue F3=Exit F12=Cancel
If you use the BRMS System i Navigator client, the Display BRMS Log task can be used to display the messages in the BRMS log. One advantage for doing so is the added flexibility the task provides for searching the BRM log using any number of the following message attributes:
You can print the BRMS Log messages by specifying *PRINT for the Output (OUTPUT) parameter of the DSPLOGBRM command. The report that is produced is the BRMS Log Report . The printer file for this report is QP1ALG. You can also print the report using option 52 from the BRMRPT menu (GO BRMRPT).