Detailed error reporting

Data collected from an error encountered by the CLI is written to a file. Detailed error reporting under the CLI works as follows:

For error processing, errors appear as two types:

When the CLI encounters either type of error, the CLI writes information that describes the error directly to the command line and sets a return code. Depending on the return code, the CLI also might write additional information about which terminal caused the error. The CLI also writes information about what it was expecting in the command syntax to help you identify any syntax errors that you might have entered.

When an exception occurs while a command is running, the CLI captures the error. At the end of processing the command (after the command processing information has been written to the command line), the CLI automatically saves the error information to a file.

The name of the file to which error information is saved is excprpt.txt . The CLI tries to place the excprpt.txt file in the directory that is specified by the system property devmgr.datadir . If for any reason the CLI cannot place the file in the directory specified by devmgr.datadir , the CLI saves the excprpt.txt file in the same directory from which the CLI is running. You cannot change the file name or the location. The excprpt.txt file is overwritten every time that an exception occurs. If you want to save the information in the excprpt.txt file, you must copy the information to a new file or a new directory.