Fixes are available
COBOL for AIX, V5.1.0.2 Fix Pack (December 2016 PTF)
COBOL Runtime for AIX, V5.1.0.2 Fix Pack (December 2016 PTF)
COBOL for AIX, V5.1.0.3 Fix Pack (October 2017 PTF)
COBOL Runtime for AIX, V5.1.0.3 Fix Pack (October 2017 PTF)
COBOL for AIX, V5.1.0.4 Fix Pack (January 2018 PTF)
COBOL Runtime for AIX, V5.1.0.4 Fix Pack (January 2018 PTF)
COBOL for AIX, V5.1.0.5 Fix Pack (May 2018 PTF)
COBOL Runtime for AIX, V5.1.0.5 Fix Pack (May 2018 PTF)
COBOL for AIX, V5.1.0.6 Fix Pack (October 2018 PTF)
COBOL Runtime for AIX, V5.1.0.6 Fix Pack (October 2018 PTF)
COBOL for AIX, V5.1.0.7 Fix Pack (December 2018 PTF)
COBOL Runtime for AIX, V5.1.0.7 Fix Pack (December 2018 PTF)
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:
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
Document Information
Modified date:
19 October 2021