Get Error Msg Text From The EBUF (Doc ID 2022738.1)

Last updated on JULY 02, 2015

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.0.0.1 to 7.3.0.0.1 [Release 7.3.0]
Information in this document applies to any platform.

Goal

We would like to retrieve, in an opcode wrapper, a clearer message from the error buffer when an opcode (custom or BRM API) execution has failed.
As per our tests, the msg test is printed in the log file and never available in the buffer.

Is there any method available to retrieve the msg text set through the pin_set_err function ?

Example :

Error in cm.pinlog :
E Fri Mar 06 12:54:22 2015  su1568  cm_sds:18623  fm_subscription_purchase_deal.c:734 1:su11760:BrmConnectionPool:0:pool-13-thread-14:108:1425642862:0
      Purchase is not allowed since backdate is before Account Effective date
      <location=PIN_ERRLOC_FM:5 class="PIN_ERRCLASS_APPLICATION":4 errno=PIN_ERR_BAD_VALUE:46>
      <field num=PIN_FLD_END_T:8,62 recid=0 reserved=0 reserved2=0 time(sec:usec)=1425642862:86176>
      <facility=0 msg_id=85 version=1>


The message we would retrieve is "Purchase is not allowed since backdate is before Account Effective date".

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