IBM Support

IT31499: EXECUTING AN EXPRESSION WITH SUBQUERY IN AN UPDATE TRIGGER ON LBAC TABLE CAUSES -768 MISSING LBACENFORCE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When an update statement is run on a LBAC table where on the
    table is an update
    trigger defined which is executing an expression with subqueries
    in the way :
    
    
    create trigger "informix".tu_auftrag_kopfdaten_tv update of
    a_termin_von,
        a_termin_bis on "informix".ta_auftrag_kopfdaten referencing
        old as old new as new
        for each row
            when ((((new.a_ccb_activity_id IS NOT NULL ) AND ((NVL
        (new.a_termin_von ,CURRENT year to fraction(3) )!= NVL
    (old.a_termin_von
        ,CURRENT year to fraction(3) )) OR (NVL (new.a_termin_bis
    ,CURRENT
        year to fraction(3) )!= NVL (old.a_termin_bis ,CURRENT year
    to fraction(3)
        )) ) ) AND NOT EXISTS (select 1 from
    "informix".ta_kauf_zu_person_sec
        x0 where ((x0.a_auftrag_id = new.a_auftrag_id ) AND
    (x0.a_person_typ_kb
        = 'WSP' ) ) ) ) )
                (
    ....
    );
    ,
    
    the update returns
    
    update ta_auftrag_kopfdaten
    set a_termin_von = current
    where a_auftrag_id = 203730275;
      768: Internal error in routine lbac_enforce_placement: missing
    LBACEnforceRow
    predicate.
    
    with the stack :
    
    0x000000000142e819 (oninit) afstack
    0x00000000014317f1 (oninit) afhandler
    0x0000000001431fd2 (oninit) affail_interface
    0x0000000000e31677 (oninit) check_traperror
    0x0000000000729081 (oninit) sqerr
    0x00000000007294ee (oninit) sqerr1
    0x00000000008f6c6e (oninit) addfilters
    0x00000000007d9993 (oninit) bldnode
    0x00000000007d9f6f (oninit) opbldtree
    0x00000000007f51d5 (oninit) sqoptim
    0x000000000096766e (oninit) optsubq
    0x0000000000972b66 (oninit) oplooksubq
    0x00000000009728f4 (oninit) oplooksubq
    0x0000000000972909 (oninit) oplooksubq
    0x00000000008c8bbb (oninit) dotrigs
    0x00000000008c91e0 (oninit) ferafttrig
    0x00000000008be5be (oninit) dodmlrow
    0x00000000008bfea0 (oninit) dodelupd
    0x00000000005fd5e3 (oninit) excommand
    0x0000000000a4d06c (oninit) sq_execute
    0x0000000000b0b641 (oninit) sqmain
    0x000000000155d1ab (oninit) spawn_thread
    0x0000000001420130 (oninit) th_init_initgls
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC14 and 14.10.xC4.  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to Informix Server 12.10.xC14 or 14.10.xC4 (when      *
    * available).                                                  *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC14 and 14.10.xC4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT31499

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-01-14

  • Closed date

    2020-02-28

  • Last modified date

    2020-02-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 February 2020