Troubleshooting
Problem
When running code coverage with IBM Developer for z/OS (IDz), some source appears to have been skipped altogether and does not show up on the report as either red or green.
Symptom
The report can show that some lines are not marked as either red or green indicating they were included in the report.
Cause
If are compiling with the OPTIMIZE (OPT) option, it may effect the code coverage and result in not all code being included in the report.
Example compile parameter used:
Example compile parameter used:
//STP0000 EXEC PROC=ELAXFCOC,
// CICS=,
// DB2=,
// COMP=,
// PARM.COBOL=('SOURCE,LIST,XREF,MAP,LIB,OPT')
//* 'ARITH(EXTEND),DYN,F(W,W)',
//* 'TRUNC(BIN),OPT,FASTSRT')
Resolving The Problem
Remove the OPTIMIZE setting when compiling.
[{"Type":"MASTER","Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"ARM Category":[{"code":"a8m0z00000009OdAAI","label":"IBM Developer for Z\/OS-\u003ECode Coverage"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Product Synonym
IDz
Was this topic helpful?
Document Information
Modified date:
27 November 2023
UID
swg21971981