APAR status
Closed as suggestion for future release.
Error description
Rational Developer for i - RDi - v9.1.1 When you run Code Coverage in a RPGLE source that contains DCL-F spec statement(s) the results show that the line(s) is not covered. For example, the following source is flagged in the code coverage results as not being covered. dcl-f test disk(*ext) keyed usage(*update);
Local fix
Problem summary
Problem conclusion
Temporary fix
Comments
The RPG compiler generates I and O specs for externally described F specs as can be seen in the compile listing. These generated specs are executable and are marked executed when READ and WRITES are executed on those particular file, record and fields. Since these generated specs do not appear in your source, the breakpoints for these specs are associated with the F spec that defines the file. Since in your case, not every I and O spec was executed, the F-Spec line in the source was not considered executed. To address this, we recommend opening an RFE (http://www.ibm.com/developerworks/rfe/) to optionally ignore F specs when computing code coverage.
APAR Information
APAR number
SE61073
Reported component name
RDI RPG AND COB
Reported component ID
5724Y99RC
Reported release
910
Status
CLOSED SUG
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-01-15
Closed date
2017-01-31
Last modified date
2024-10-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSAE4W","label":"Rational Developer for i"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Line of Business":{"code":"LOB73","label":"Power TPS"}}]
Document Information
Modified date:
11 October 2024