ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Usage Statistics Tool ucybdblc.exe fails with an Oracle ORA-00904 or SQL Server Native error: '102'


Article ID: 87522


Updated On:


CA Automic Workload Automation - Automation Engine


Error Message :
Oracle: ORA-00904: invalid identifier
SQL Server: Native error: '102'

The usage statistics tool, ucybdblc.exe, runs several SQL scripts that include db functions in order to return license information. In some cases the tool stops with an error and shows the following error messages:
20160728/105021.042 - U0029108 UCUDB: SQL_ERROR    Database-Handles  DB-HENV: 710a330  DB-HDBC: 7115d90
20160728/105021.042 - U0003591 UCUDB - DB-Error-Info: Opc: 'OCIStmtExecute' Return code: 'ERROR'
20160728/105021.042 - U0003592 UCUDB - Status: '' NativeError: '904' Msg: 'ORA-00904: : invalid identifier'
MS SQL Server:
20160920/120411.672 - U0029108 UCUDB: SQL_ERROR    Database handles  DB-HENV: 1881a0  DB-HDBC: 188270
20160920/120411.672 - U0003591 UCUDB - DB error info: OPC: 'SQLExecDirect' Return code: 'ERROR'
20160920/120411.672 - U0003592 UCUDB - Status: '42000' Native error: '102' Msg: 'Incorrect syntax near 'date'.'
This is a configuration issue on the database side. In some of the SQL-scripts used by the tool (see folder bin/scripts) db-functions like dbms_lob.substr are used. If this error appears, please check the SQL-file where the tool stopped and see what Database-function was used. Contact your DBA to grant the necessary privileges to the user for this function.


Cause type:
Root Cause: Insufficient database privileges


Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager


This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: No Fix

Fix Version(s):

Additional Information

Workaround :