Problem:
Tried to use SQL for DB2, SQL Wizard, and got X040 error immediately. Can't tell what operation it was trying to do, since we then got a Windows error saying that it couldn't find the error msg file (see attached screen print).
=========================
X040: Log system couldn't operation.
An operation in the log system has failed.
If operation is a file-related operation, check that there is nothing preventing the log file from being used. For example, check that there is disk space available to write the log file. Also check that the log file is not write-protected or opened for exclusive use. If the problem with the log file is not apparent, contact Micro Focus Technical Support.
If operation is an internal operation, contact Micro Focus Technical Support.
Resolution:
In this case - check the syslocal.tab - the directories could be pointing to the wrong directory
This file is created during installation and for some installations it gets created with the incorrect paths.
This file is not a text file (although you can read thru notepad)
**warning it can only be edited with a hex editor)
You can try to uninstall and resintall - if this does not work -
and you cannot change this with hexeditor, call supprotline
#COBOL
#netexpress
#Enterprise
#MainframeExpressandMFE
#MFDS
#EnterpriseDeveloper