How To Create Sequences on BRM?

(Doc ID 1313826.1)

Last updated on SEPTEMBER 07, 2017

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.4.0.0.0 to 7.4.0.0.0 [Release 7.4.0]
Information in this document applies to any platform.
***Checked for relevance on 26-Apr-2013***
Checked for relevance on 30-Mar-2016.
Checked for relevance on 07-Sep-2017.

Goal

An user wanted to create several sequences, but encountered this error:

Could not find cache entry: ""


The user has added the sequence information on the pin_bill.h file and has created the object on /data/sequence class:

0 PIN_FLD_POID POID [0] 0.0.0.1 /data/sequence 5233259 0
0 PIN_FLD_CREATED_T TSTAMP [0] (1331361656) 10/03/2012 00:40:56:000 AM
0 PIN_FLD_MOD_T TSTAMP [0] (1331361656) 10/03/2012 00:40:56:000 AM
0 PIN_FLD_READ_ACCESS STR [0] "G"
0 PIN_FLD_WRITE_ACCESS STR [0] "G"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 1 0
0 PIN_FLD_BUFFER BUF [0] flag/size/offset 0x00 0 0 data:
0 PIN_FLD_HEADER_NUM INT [0] 0
0 PIN_FLD_HEADER_STR STR [0] ":-:SEQ"
0 PIN_FLD_NAME STR [0] "PIN_SEQUENCE_TYPE_MYSEQ"
0 PIN_FLD_PARENT POID [0] 0.0.0.0 / 0 0


pin_bill.h:

#define PIN_SEQUENCE_TYPE_MYSEQ 11

static char *map_seq_id_to_name[] = {
(char *)"PIN_SEQUENCE_TYPE_TRANS_ID", /* 0 */
...
(char *)"PIN_SEQUENCE_MYSEQ", /* 11 */
(char *)NULL
};


And then restarted all BRM processes.

To use the sequence, the next code has been added:

fm_utils_get_tids(new_ctxp, PIN_POID_GET_DB(pdp), 1,
                  PIN_SEQUENCE_TYPE_MYSEQ, &account_seq,
                  &sequence_id[0], &separator[0], ebufp);


But still there were errors in cm.pinlog:

E Thu Aug 9 13:08:51 2012 BRM cm:28949 fm_bill_utils_billing.c(49):1033 1:BRM-PC:UnknownProgramName:0:AWT-EventQueue-0:2154:1299891008:0
        Could not find cache entry: ""
D Thu Aug 9 13:08:51 2012 BRM cm:28949 fm_cust_pol_prep_acctinfo.c:391 1:BRM-PC:UnknownProgramName:0:AWT-EventQueue-0:2154:1299891008:0
        Sequecnia 1000001
NULL flist ptr
D Thu Aug 9 13:08:51 2012 BRM cm:28949 fm_cust_pol_prep_acctinfo.c:393 1:BRM-PC:UnknownProgramName:0:AWT-EventQueue-0:2154:1299891008:0
          op_cust_pol_prep_acctinfo ENTRO MI NEW POLICY 2 CMAS
NULL flist ptr
E Thu Aug 9 13:08:51 2012 BRM cm:28949 fm_cust_pol_prep_acctinfo.c:434 1:BRM-PC:UnknownProgramName:0:AWT-EventQueue-0:2154:1299891008:0
        fm_cust_pol_prep_acctinfo_new error
        <location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_NOT_FOUND:3>
        <field num=0:0,0 recid=0 reserved=3 reserved2=0 time(sec:usec)=0:0>
        <facility=0 msg_id=0 version=0>
E Thu Aug 9 13:08:51 2012 BRM cm:28949 fm_cust_pol_prep_acctinfo.c:183 1:BRM-PC:UnknownProgramName:0:AWT-EventQueue-0:2154:1299891008:0
        fm_cust_pol_prep_acctinfo error
        <location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_NOT_FOUND:3>
        <field num=0:0,0 recid=0 reserved=3 reserved2=0 time(sec:usec)=0:0>
        <facility=0 msg_id=0 version=0>
E Thu Aug 9 13:08:51 2012 BRM cm:28949 fm_cust_pol_prep_acctinfo.c:127 1:BRM-PC:UnknownProgramName:0:AWT-EventQueue-0:2154:1299891008:0
        op_cust_pol_prep_acctinfo error
        <location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_NOT_FOUND:3>
        <field num=0:0,0 recid=0 reserved=3 reserved2=0 time(sec:usec)=0:0>
        <facility=0 msg_id=0 version=0>
E Thu Aug 9 13:08:51 2012 BRM cm:28949 cm_child.c(115):4669 1:BRM-PC:UnknownProgramName:0:AWT-EventQueue-0:2154:1299891008:0
        op PCM_OP_CUST_POL_PREP_ACCTINFO returned an error
        <location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_NOT_FOUND:3>
        <field num=0:0,0 recid=0 reserved=3 reserved2=0 time(sec:usec)=0:0>
        <facility=0 msg_id=0 version=0>

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