Thanks Buck.
I was hoping to be able to use it for a very large interactive program.
I will try it with a batch program and see what I get.

Jeff Young
Sr. Programmer Analyst


On Thu, May 29, 2014 at 9:58 AM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 5/29/2014 9:44 AM, Jeff Young wrote:
I am playing with RDi 9.1 (based on the time it took to get the license
key
for 9.0, it will be 3 - 6 months to get the RDi 9.1 license) and noticed
the item for Code Coverage.

Can someone point me to documentation on how / when to use this and what
the output will show?

There isn't much documentation yet. Edmund wrote that there's a
document in the works. For the moment, try this:

1) Create a filter for your *PGM objects
2) Right click one and select Code Coverage
3) The Code Coverage tool will create a Code Coverage configuration for
that program and do a SBMJOB to execute the code. When the program
finishes running, a Code Coverage Report view will open.

The key limitation here is that code coverage will only work for batch
programs - if the RPG program needs to display a screen, it will fall
over when it is submitted to batch.

If you're familiar with the way Eclipse debugs Java code, you'll find
this very similar.
--buck

--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.