Cancel Rebill Script Encounters Errors (Doc ID 1270307.1)

Last updated on JUNE 13, 2017

Applies to:

Oracle Utilities Framework - Version: 2.2.0 and later   [Release: 2.2 and later ]
Information in this document applies to any platform.

Goal

Client has a script that uses a SA-ID variable. The script subtracts 1 from SA-ID before invoking a function. The problem

is that the resulting value after subtraction includes some decimal value.

This causes a string buffer overflow when value is passed to the function (i.e. function expects 10 chars, actual value is

17 chars).

Here's the actual result from the BPA script:

DEBUG>>> Value of TS-R-SA-ID before subtracting 1 is 6942525005

DEBUG>>> Value of TS-R-SA-ID after subtracting 1 is 6942525003.999999


Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms