ENUM Support In iScripts

(Doc ID 989735.1)

Last updated on OCTOBER 10, 2012

Applies to:

Oracle Communications Billing and Revenue Management - Version to [Release 7.3.1]
Information in this document applies to any platform.
***Checked for relevance on 10-Oct-2012***


Flist manipulation set functions are not working for ENUM type.

 fListSetLong("PIN_FLD_IMPACT_TYPE", 288 ) gives following error:
ERROR: `PIN_FLD_IMPACT_TYPE' is not a long field

Reproduction Steps

On the real-time pipeline, configure a mapping iScript in the PcmOutput module, like in the following:

 ModuleName = OUT_Realtime
  MappingScript = /usr/users/portal/pin24/7.3.1/personal/ifw/iScript/RTP/rtp.isc

Inside the rtp.isc, invoke logStdout(fListToString());

then drop the bal impact:

drop = fListDropElem("PIN_FLD_BAL_IMPACTS", j);

then create it empty:

fListPushElem("PIN_FLD_BAL_IMPACTS", j);

and add elements:

fListSetLong("PIN_FLD_IMPACT_TYPE", 288 );
fListSetLong("PIN_FLD_RUM_ID", 1)

Everything works fine for fields of string and int data type except the impact_type field which is of type ENUM.



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