Error Message :
U00003590 UCUDB - DB error: 'SQLNumResultCols', 'ERROR ', '42000', 'Statement(s) could not be prepared.'
U00003592 UCUDB - Status: '42S02' Native error: '208' Msg: 'Invalid object name 'MQCP001'.'
The Usage Statistic tool fails immediately upon execution, and does not generate output files. The invalid object name error, as shown above, occurs because a change in the MS-SQL DB schema was introduced with version 11.2. The MQ tables have been modified and renamed. Therefore, these errors indicates that the Usage statistic tool is from a prior version. You must use a version of the Automation Engine and the tool that is compliant with each other. Investigation The last entry in the log is :
U00003590 UCUDB - DB error: 'SQLNumResultCols', 'ERROR ', '42000', 'Statement(s) could not be prepared.'
In in the Usage Statictic tools' logs: Search for these errors : 20170120/064459.357 - U00029108 UCUDB: SQL_ERROR Database handles DB-HENV: 4b7260 DB-HDBC: 4b7330
20170120/064459.358 - U00003591 UCUDB - DB error info: OPC: 'SQLNumResultCols' Return code: 'ERROR'
20170120/064459.358 - U00003592 UCUDB - Status: '42S02' Native error: '208' Msg: 'Invalid object name 'MQCP001'.'