My Oracle Support Banner

TO_NUMBER Function Is Not Working From Groovy Script In CCS (Doc ID 2989378.1)

Last updated on NOVEMBER 27, 2023

Applies to:

Oracle Utilities Framework - Version to [Release 4.5]
Oracle Utilities Customer Cloud Service - Version 22B to 23A [Release 22 to 23]
Information in this document applies to any platform.


On: 22B version, Environment Related

TO_NUMBER function is not working from the Groovy script in CCS

TO_NUMBER function is used in the SQL query in Groovy script in CCS. The SQL is working in SQL developer But it is not working from the groovy script.
The user log and detailed steps are provided in the attachments.

SQL references invalid SQL function 'to_number'.

The issue can be reproduced at will with the following steps:
Testing of TO_NUMBER SQL function on Scripts
1. Characteristic Type -- ZZ-TNBIL
2. Script -- ZZ-BPATEST
3. Step
4. Script -- ZZToNumPOCT
5. Step
6. Test Results
Setup – Bill is setup with the temporary characteristic.
Execution of BPA script calling the Service script
Error Information: SQL references invalid SQL function 'to_number'.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.