IBM Support

PM40812: Error in iSeries indexed Set position/Get Prev logic

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • For indexed records, the set file position statement was not
    being used when followed by a 'get previous' for the same file.
    
    Instead the last record in the file was being returned instead
    of the record associated with the key in the set position.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a get previous was being used, if the record was used
    in a set scan statement, it was not checking the flag to see
    if the conditions were correct for the read.
    

Problem conclusion

  • The template code has been updated to check the scan
    condition when a get previous is being issued. A fixtest is
    available.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM40812

  • 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-06-06

  • Closed date

    2012-03-15

  • Last modified date

    2012-03-15

  • 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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
27 October 2021