IBM Support

IJ13037: UPGRADE TO MAXIMO 7.6.1 FAILS IN PATCH V7610_30.DBC.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Client is upgrading Maximo 7.5.0.11 to 7.6.1.  UpdateDB fails at
    patch V7610_30.dbc.
    RESULTS:
    update maxmenu set position=(select position from maxmenu where
    keyvalue='M180' and moduleapp='ASSET' and menutype='APPMENU'),
    subposition=(select max(m.subposition)+1 from maxmenu m where
    m.position=position and m.moduleapp='ASSET' and
    m.menutype='APPMENU') where keyvalue = 'CREATEINSP' and
    moduleapp='ASSET' and menutype='APPMENU'
    ;
    // Failed.
    ERROR: BMXAA7025E -- Script failed while running.;
    BMXAA8313E -- A statement failed to execute inside a freeform
    statement. See the nested exception.;
    ORA-01407: cannot update ("MAXIMO"."MAXMENU"."POSITION") to NULL
    Failure occurs because the client does not have an entry in
    table MaxMenu for keyvalue='M180'.  The same/similar fault
    occurs later in the same script:
         update maxmenu set position=(select
    position from maxmenu where keyvalue='M140' and
    moduleapp='LOCATION' and menutype='APPMENU'),
         subposition=(select max(m.subposition)+1
    from maxmenu m where m.position=position and
    m.moduleapp='LOCATION' and m.menutype='APPMENU')
         where keyvalue = 'CREATEINSP' and
    moduleapp='LOCATION' and menutype='APPMENU'
    The client does not have an entry in table MaxMenu for
    keyvalue='M140'.  Value for keyvalue should not be hard-coded.
    It appears that this code was copied verbatim from work centers
    patch V7603_46.  We able to work around the initial failure in
    work centers, only to encounter the exact same failure in TPAE
    patch V7610_30.
    STEPS TO REPRODUCE:
    Install Maximo 7.6.1 and upgrade the database.
    EXPECTED RESULTS:
    UpdateDB should run start to finish without interruption.
    PRODUCT VERSION:
    Maximo Asset Management 7.6.1
    

Local fix

  • Support was able to work around this development bug by
    substituting the following two statements in V7610_30:
       update maxmenu set position=(select position from
    maxmenu where keyvalue='CREATESR' and moduleapp='ASSET' and
    menutype='APPMENU' and elementtype='OPTION'),
       subposition=(select max(m.subposition)+1 from
    maxmenu m where m.position=position and m.moduleapp='ASSET' and
    m.menutype='APPMENU')
       where keyvalue = 'CREATEINSP' and moduleapp='ASSET'
    and menutype='APPMENU'
       update maxmenu set position=(select position from
    maxmenu where keyvalue='CREATESR' and moduleapp='LOCATION' and
    menutype='APPMENU' and elementtype='OPTION'),
       subposition=(select max(m.subposition)+1 from
    maxmenu m where m.position=position and m.moduleapp='LOCATION'
    and m.menutype='APPMENU')
       where keyvalue = 'CREATEINSP' and
    moduleapp='LOCATION' and menutype='APPMENU'
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Upgrading customers to Tpae 7610 or later                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Updatedb fails on adding Create Inspection menu options in   *
    * ASSET and LOCATION applications                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ13037

  • Reported component name

    UPGRADE PROGRAM

  • Reported component ID

    5724R46UP

  • Reported release

    761

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-24

  • Closed date

    2019-04-02

  • Last modified date

    2019-04-02

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

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

Fix information

Applicable component levels

  • R761 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHPPD","label":"Upgrade Programs"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"761","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 April 2019