× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Danny,

If you haven't found the information yet, you can include as many programs as you wish.

I generally start from the Object Table view, Objects and type the library I want, part of the name* I want and *PGM or *SRVPGM. (You can even use *PGM* and it will find both *PGM and *SRVPGM.) Then if I'm working with it a lot I add the source member, the *PGM object, and any create command members I use on the scratch pad to find it easier.

Make sure it's been created with debug listing so it can be debugged.

Right-click on the *PGM or *SVRPGM and select "Set service entry point".

Then open the IBM I Service Entry Points tab and right-click on the SEP and toggle on Code Coverage Mode.

Now right-click again and select the option, Open Launch Configuration.

From the tab, "What To Analyze", you can add as many programs to be analyzed for code coverage.

If you change your source, make sure to recompile and refresh the SEP. (There is an RFE asking to do this automatically on a compile.)

There are several helpful videos provided by some great trainers if you Google "RDi code coverage".

Keep in mind that the source Code Coverage opens up is a copy of your source, not to be edited directly.

Hope this helps!

Steve Ferrell



-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Danny Hayes
Sent: Wednesday, March 20, 2019 2:21 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] [EXT] Icons for RDi Perspectives

Susan,



I guess you have been pretty busy, but can you point me to your articles on Code Coverage or give me a hint as to what I am doing wrong?



Thanks & Regards,

Danny Hayes

IT-Developer

Genuine Parts Company, APG IT



3100 Windy Hill Road

Atlanta, Georgia 30339

mailto:Danny_Hayes@xxxxxxxxx

(904) 502-2969



"People will forget what you said, people will forget what you did, but people will never forget how you made them feel." - Maya Angelou





-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Monday, March 04, 2019 6:17 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] [EXT] Icons for RDi Perspectives



Sorry Denny, I honestly don't recall (I've slept about 355 times since then!) and have not needed to do this in that time.



I'll copy Susan on this as she's been doing Code Coverage stuff lately and may hav encountered it.



Jon Paris



https://na01.safelinks.protection.outlook.com/?url=www.partner400.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3b64a49b9c208d6a0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636873382556038745&amp;sdata=ip0AtFj86HhpUUAtVKgSFYNKzVY%2F6h24eJvWj1IAKtE%3D&amp;reserved=0

https://na01.safelinks.protection.outlook.com/?url=www.SystemiDeveloper.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3b64a49b9c208d6a0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636873382556048763&amp;sdata=nNLDAhlAX31YCrE6QXvligMfQWv5YRlTshnfNZyblNQ%3D&amp;reserved=0



On Mar 4, 2019, at 4:10 PM, Danny Hayes <Danny_Hayes@xxxxxxxxx<mailto:Danny_Hayes@xxxxxxxxx>> wrote:



Jon,



Did you ever get this issue resolved?

I know I used this feature when it first surfaced and it worked fine.

Now that I want to use it again, it is giving errors:

V7R3 - Win7 Pro - RDi 9.6.0.5

I set SEP for Code Coverage.

Ran the process.

Clicked on RemoteSystemsTempFiles --> get Specified working directory not found.

I do not recall doing any setup on this before when I ran it.

Am I getting the 2 separate processes discombobulated?



Thanks & Regards,

Danny Hayes

IT-Developer

Genuine Parts Company, APG IT



3100 Windy Hill Road

Atlanta, Georgia 30339

mailto:Danny_Hayes@xxxxxxxxx

(904) 502-2969



"People will forget what you said, people will forget what you did,

but people will never forget how you made them feel." - Maya Angelou



-----Original Message-----

From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon

Paris

Sent: Sunday, March 18, 2018 11:17 PM

To: Wdsci-L
<wdsci-l@xxxxxxxxxxxx<mailto:wdsci-l@xxxxxxxxxxxx<mailto:wdsci-l@midra
nge.com%3cmailto:wdsci-l@xxxxxxxxxxxx>>>

Subject: [EXT] Re: [WDSCI-L] Headless code coverage ...



I have a home directory Edmund - so that would have been valid. Indeed that is where the result set was stored BUT the command constantly failed with a missing LIBRARY until I created one with the same name as my user name.





Jon Paris



https://na01.safelinks.protection.outlook.com/?url=www.partner400.com&;

amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3b64a49b9c208d6a

0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C63687338255604876

3&amp;sdata=wWMq%2BYLgLPeZV1y0IfE2aB7b8PTvPEz9IuWyvlqPEm8%3D&amp;reser

ved=0

https://na01.safelinks.protection.outlook.com/?url=www.SystemiDevelope

r.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3b64a49b9c

208d6a0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C63687338255

6048763&amp;sdata=nNLDAhlAX31YCrE6QXvligMfQWv5YRlTshnfNZyblNQ%3D&amp;r

eserved=0



On Mar 18, 2018, at 9:40 PM, Edmund Reinhardt <edmund.reinhardt@xxxxxxxxxx<mailto:edmund.reinhardt@xxxxxxxxxx<mailto:edmund.reinhardt@xxxxxxxxxx%3cmailto:edmund.reinhardt@xxxxxxxxxx>>> wrote:



Hi Jon,



By default, headless code coverage stores the generated code

coverage result file under the user's home directory. Headless CC

uses the OS API

getpwnam() to get the working directory from the current user id. It

could be possible that the getpwnam() API does not return a valid

value if the user has not created a home library. In this case,

headless CC has no default location to write to, unless the user

explicitly specifies an output directory using the OUTDIR parameter.



HTH





"This email and any attachments, contain Genuine Parts Company confidential information that is proprietary, privileged, and protected by applicable laws. If you have received this message in error and are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy this email, any attachments or copies therein forthwith. Please notify the sender immediately by email if you have received this email in error."

--

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@xxxxxxxxxxxxxxxxxx<mailto:WDSCI-L@xxxxxxxxxxxxxxxxxx> To
subscribe, unsubscribe,

or change list options,

visit:

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists

.midrange.com%2Fmailman%2Flistinfo%2Fwdsci-l&amp;data=02%7C01%7Cdanny_

hayes%40genpt.com%7C29877216f3b64a49b9c208d6a0f79489%7Cb439d764f2cb43e

aac052e373c83043e%7C0%7C0%7C636873382556048763&amp;sdata=s9tpoM6H9LKjK

9MCzkf4uJc46fmyODTs3UouwBnHzG4%3D&amp;reserved=0

or email:
WDSCI-L-request@xxxxxxxxxxxxxxxxxx<mailto:WDSCI-L-request@lists.midran
ge.com>

Before posting, please take a moment to review the archives at

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fwdsci-l&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3b64a49b9c208d6a0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636873382556048763&amp;sdata=megVEO65RMkHFhE4P%2BEWOhPulTB%2B2JP8BAxCCqMIX7g%3D&amp;reserved=0.



Help support midrange.com by shopping at amazon.com with our affiliate

link:

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazo

n.midrange.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3

b64a49b9c208d6a0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C63

6873382556048763&amp;sdata=mdE3%2BjESc7HTveR7%2FCv0t8BkgAgbOxNHoe%2Bgf

h%2BC4ns%3D&amp;reserved=0



--

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@xxxxxxxxxxxxxxxxxx<mailto:WDSCI-L@xxxxxxxxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,

visit: https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fwdsci-l&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3b64a49b9c208d6a0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636873382556048763&amp;sdata=s9tpoM6H9LKjK9MCzkf4uJc46fmyODTs3UouwBnHzG4%3D&amp;reserved=0

or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx<mailto:WDSCI-L-request@xxxxxxxxxxxxxxxxxx>

Before posting, please take a moment to review the archives at https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fwdsci-l&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3b64a49b9c208d6a0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636873382556048763&amp;sdata=megVEO65RMkHFhE4P%2BEWOhPulTB%2B2JP8BAxCCqMIX7g%3D&amp;reserved=0.



Help support midrange.com by shopping at amazon.com with our affiliate

link: https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com&amp;data=02%7C01%7Cdanny_hayes%40genpt.com%7C29877216f3b64a49b9c208d6a0f79489%7Cb439d764f2cb43eaac052e373c83043e%7C0%7C0%7C636873382556048763&amp;sdata=mdE3%2BjESc7HTveR7%2FCv0t8BkgAgbOxNHoe%2Bgfh%2BC4ns%3D&amp;reserved=0
--
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@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.

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-2024 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.