IBM Support

Copying the BRMS Flight Recorder to a Text File

Troubleshooting


Problem

This document explains how to copy the BRMS flight recorders to a text file so it can be displayed on a PC.

Resolving The Problem

To copy the BRMS flight recorders to a text file so they can be viewed with Notepad or WordPad, do the following:

CPY OBJ('/QIBM/UserData/BRMS/logs/flightrec') TOOBJ('/QIBM/UserData/BRMS/logs/flightrec.txt') TOCCSID(*PCASCII) DTAFMT(*TEXT)

CPY OBJ('/QIBM/UserData/BRMS/logs/flightrec.bku') TOOBJ('/QIBM/UserData/BRMS/logs/flightrecbku.txt') TOCCSID(*PCASCII) DTAFMT(*TEXT)

The CCSID of the .txt file must be 37 to be viewable on the PC. The following must be performed after the copy:
CHGATR OBJ('/QIBM/UserData/BRMS/logs/flightrec.txt') ATR(*CCSID) VALUE(37)

CHGATR OBJ('/QIBM/UserData/BRMS/logs/flightrecbku.txt') ATR(*CCSID) VALUE(37)
Optional: ZIP the .txt file
  • NOTE:  For customers that are not on the March 2020 BRMS PTF fightrec data will be in folder '/TMP/BRMS' instead of '/QIBM/UserData/BRMS/logs'.

    The flightrec.txt file can be zipped to reduce the size to approximately 10% of the original if Qshell is installed on the system (57xxSS1 Option 30).

    Start the Qshell interpreter with command QSH and execute the following command to zip the file:

    jar cfM /QIBM/UserData/BRMS/logs/flightrec.txt.zip /QIBM/UserData/BRMS/logs/flightrec.txt

    Note: The zip is complete when a $ is returned.

    This will create the flightrec.txt.zip file in directory /QIBM/UserData/BRMS/logs/.


FTP or use Operations Navigor to drag and drop it to a folder on a PC. The file can then be attached to an e-mail.

Notes:
1. It may be necessary to open the file with WordPad first and save it before being able to see the formatted version of the file using Notepad.
2.
Any stream file (STMF) can be copied in this way.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

361965232

Document Information

Modified date:
25 March 2021

UID

nas8N1015780