IBM Support

PI70785: PROGRAM NOT READING RECORDS STARTING WITH GRC

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A COBOL program is not reading every records with "GRC" value in
    WS-GRC zone.
    
    ===== ACTUAL OUTPUT:
    $ export E01=FICLU
    $ ./LECFIC
    PAS DE GRC :     ENREGISTREMENT : 000063445 DEBUT ENREG >
    < FIN ENREG
    $
    
    
    ===== EXPECTED OUTPUT:
    Records 63445 and 63446 should be read properly
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    COBOL users with Line Sequential files in DOS format (\r\n
    instead of just \n) are affected by this issue.
    
    PROBLEM DESCRIPTION:
    The end of a record could be missed and subsequent records could
    be read improperly.
    
    It is possible that the \r\n are split amongst two buffers, and
    if that happens, we did not treat them as a proper record
    delimiter.
    

Problem conclusion

  • When a buffer ends with \r, we now check the next buffer for \n.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI70785

  • Reported component name

    COBOL AIX RUNTI

  • Reported component ID

    5724Z8702

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-17

  • Closed date

    2016-10-17

  • Last modified date

    2016-10-17

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

    PI63238

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

Fix information

  • Fixed component name

    COBOL AIX RUNTI

  • Fixed component ID

    5724Z8702

Applicable component levels

  • R510 PSY

       

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SGM","label":"COBOL for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"510","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
19 October 2021