IBM Support

PM31927: OC7 abend if column in table is NULL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The egl program is accessing data from a db2 table in which one
    column is decimal and is nullable.
    When the value is not null, there is no problem.
    
    If the value is null, then no check is done before moving the
    value to the host variable. The source
    area is uninitialized and the move results in an 0C7 abend.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The logic that moves same type fields from the EGL variable
    to the SQL host variables will take into account nullable
    indicators. This logic was not being invoked for their
    specific case, because they defined the EGL variables as
    type NUM. NUM is not supported on zSeries DB2, so the EGL
    sql host variable processor automatically detects that and
    converts it to type decimal instead. This caused a type
    mismatch on a comparision done in the logic, which prevented
    the proper template to get invoked, which would have taken
    into account the nullable indicators.
    

Problem conclusion

  • The logic has been modified to do a logical comparison of
    types instead of a hard match.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM31927

  • Reported component name

    RBD EGL FOR COB

  • Reported component ID

    5724S5001

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-03

  • Closed date

    2011-05-06

  • Last modified date

    2011-05-06

  • 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

    RBD EGL FOR COB

  • Fixed component ID

    5724S5001

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
06 May 2011