I have modified a FM model and published a new package in our DEV environment.
Subsequently, I have copied a report from Production (which runs without issue) down to the DEV environment.
As a run a test of the report in DEV, it is failing with a "UDA-SQL-0219 The function "substr" is being used for local processing but is not available as a built-in function" error message.
In isolating the error, I can see that two queries are joined in the report and the resulting query has a substr calculation (but, this is the same in Production).
The only difference (that I am aware of) is the newly published package in DEV.
Due to the package change the driving queries of the join have different SQL's compared to Production (I would expect this).
I cannot get the SQL of the failing query in the report as it is failing!
I have set the Data Source in the package to allow Oracle functions so I am not sure what else may have caused this.
Is there something at a Package or Environment level that could be causing this?
Ideally, I do not want to change the Oracle functions to be native Cognos functions as there may be significant other report changes if this is caused by the new package.
Any thought would be greatly appreciated.
Thanks in advance,
Adam.
------------------------------
Adam McIlravey
------------------------------