APAR status
Closed as program error.
Error description
Cobol compiler generate warning Syntax error for Statement 'COPY ... REPLACING ... BY ...'
Local fix
n/a
Problem summary
When building a COBOL program which has a 'COPY...REPLACING A- BY B-' statement, a syntax error would occur: "Error [999] Syntax error: 'A-'"
Problem conclusion
Fixed AD COBOL Compiler to properly tokenize the COPY statement considering the ending hyphen as part of the words 'A-' and 'B-'.
Temporary fix
Comments
APAR Information
APAR number
PH31164
Reported component name
AD MAINFRAME
Reported component ID
5737B1610
Reported release
510
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-11-02
Closed date
2021-10-19
Last modified date
2021-10-19
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
AD MAINFRAME
Fixed component ID
5737B1610
Applicable component levels
[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSRR9Q","label":"IBM Application Discovery"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"510"}]
Document Information
Modified date:
20 October 2021