Re: Code Coverage questions

Charles Wilt <[email protected]> Thu, 20 Nov 2025 07:54:11 -0700
Newsgroups gmane.editors.websphere.iseries
Message-ID <CAJ=Tnc4Z19hkLj521JODS=siu=hapnKiGGBWE7CPjMRZeikrXg@mail.gmail.com>
Just a WAG...there may be a better way...

Try using the TOSRCFILE parameter of the CRTRPGSQLI command to store the
generated source in a non-temp library.

That way the actual RPGLE source is available.

HTH,
Charles

On Thu, Nov 20, 2025 at 7:46 AM DEnglander--- via WDSCI-L <
[email protected]> wrote:

> I am using RDi's [Version 9.8.0.2 (20240514_1451)] Code Coverage (CC) and
> have two questions:
>
>
> 1. I notice that when I use CC on a SQLRPGLE program, the source is not
> available. Is this normal? Is there a way around it? The main program I am
> using CC with is SQLRPGLE and I cannot see the view that shows the
> executed and non-executed lines for SQLRPGLE programs. Normal RPGLE
> programs are fine.
>
>
> 2. Is there a way to merge the results of one program over two or more
> code coverage sessions? For example, I want to test one program twice,
> with different parameter values, and would like to see both tests merged
> together in CC so I can see in total what percentage of the programs were
> tested over the two [or more] CC sessions. Is this possible?
>
>
> I have used Code Coverage before, but this is one of the few times where I
> have used it extensively for a project.
>
> Thank you,
>
> Doug
>
>
>
> "CONFIDENTIALITY NOTICE:  This e-mail transmission (and/or the attachments
> accompanying it) contain confidential information belonging to the sender.
> The information is intended only for the use of the intended recipient.  If
> you are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution or the taking of any action in reliance
> on the contents of the information is strictly prohibited.  Any
> unauthorized interception of this transmission is illegal under the law.
> If you have received this transmission in error, please promptly notify the
> sender by reply e-mail, and then destroy all copies of the transmission."
> --
> This is the Rational Developer for IBM i   (WDSCI-L) mailing list
> To post a message email: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/wdsci-l.
>
>
>
-- 
This is the Rational Developer for IBM i   (WDSCI-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.