APAR status
Closed as program error.
Error description
SUPPRESS option of the COPY statement should not lead to including that copybook, or else each COPY with SUPPRESS would lead in most cases to "missing include file" error messages which is at least misleading, pointing the user who creates the project to look-up for unnecessary copybooks. Other syntax errors or logical/analysis flaws can also occur only because we ignore this option. Even if a COBOL copybook exists and compiles successfully, the analysis would show some code which actually is not active (should not have been analysed at all).
Local fix
N/A
Problem summary
SUPPRESS option of COPY statements was ignored, meaning the copybook expansion, parsing and analysis took place anyway, in this case including a BMS instead of a copybook (as it was found in the search paths). Normally, on Mainframe should be no issue in this case, because SUPPRESS is taken into account.
Problem conclusion
Solution: Handle SUPPRESS option correctly (if the option is present, the target file of the COPY statement is not included / expanded anymore).
Temporary fix
Comments
APAR Information
APAR number
PH25781
Reported component name
APPL DISCOVERY
Reported component ID
5737B1600
Reported release
510
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-05-27
Closed date
2020-05-28
Last modified date
2020-05-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
None 999
Fix information
Fixed component name
APPL DISCOVERY
Fixed component ID
5737B1600
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSRR9Q","label":"IBM Application Discovery for IBM Z"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
29 May 2020