Hi Alan,
Personally, I've never used headless code coverage.
What I use is the RDi version that runs like debug does. If it's a simple call, just find the program *.PGM object you want to run using the object table, and right-click on *PGM object and select Code Coverage (Prompt) -> Batch and enter the values you require.
This step is just like batch Debug. Once it runs, the value will be displayed in the Code Coverage Results view.
If your call is more complicated and requires an SEP, you can do code coverage with the SEP, then right clicking on the SEP and select the Code Coverage Mode.
Then call your program until it ends, and your result will also be displayed on the Code Coverage Results view.
Hope this helps.
Steve Ferrell
w. www.helpsystems.com
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Alan Cassidy
Sent: Monday, January 4, 2021 5:16 PM
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Subject: Re: [WDSCI-L] Code Coverage
External: Pause and review the sender's email address, any URLs before clicking links, opening attachments, or following requests. When in doubt, contact the Service Desk.
I think I should explain that I went to RDi, expanded on IFS Files to the directory I told the results to go to, and double-clicked on the cczip file.
--aec
On 1/4/2021 5:46 PM, Alan Cassidy wrote:
Reviewed Guarino's and Susan's videos on RDi Code Coverage. Seems I
have to re-learn the thing every time I use it (not very often).
I was able to use the 5250 screen to run the CODECOV command for this
program I need it for, and it generated me an IFS file. But I did that
all in the green screen. How do I pull up the results again? So far I
just got garbage.
-alan
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.