IBM Support

PM96793: Reading data from a database returns incorrect date values

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: windows 7
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  8.5.1
    Description.
    Reading data from a database returns incorrect date values.
    Steps to reproduce:
    a)  A cursor on a table fetches the first row of a database date
    field which is then in turn correctly returned with its
    associated null value.
    b) The next data read of the following row then once again
    correctly returns its associated value which is a 'real' date.
    c)  Subsequent iterations through the table appears to
    thereafter retain this date value so the next rows which contain
    null dates are incorrectly return with the same date of (b)
    d)  An example of a conditional statement which is not
    evaluating correctly in this scenario:
            if (testrec.deliveryEndDate != ' ')
              writestdout('delivery_date not blank - Row = ' +
    testrec.DELIVMTRUNBLOCK);
              continue while1;
            else
             writestdout('delivery_date IS blank - Row = ' +
    testrec.DELIVMTRUNBLOCK);
            end
         end
    
    This behavior is observed with both the generated Java
    application and via the EGL debugger.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the user use 'get next' to read the data into a same SQL
    record. When the date field is null but the date field in
    the previous row is not null, the field is not set to null
    but set to the value of the previous row.
    

Problem conclusion

  • The problem is resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM96793

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-11

  • Closed date

    2014-09-25

  • Last modified date

    2014-09-25

  • 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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R850 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":"8.5","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
25 September 2014