× 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 Mike,

Sorry for the delay but the PMR is 92190,999,866.

Best regards,
Mark

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Austin, Mark
Sent: 21 August 2014 15:54
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] Code Coverage

Hi Mike,

Thanks for the reply and great news about it supporting COBOL.

I have emailed the details to our support people, who are the only ones that can raise a PMR. I will let you know the number when I get it. I have included the full code coverage report so hopefully you have all the information you need.

Best regards,
Mark

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Hockings
Sent: 21 August 2014 14:28
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] Code Coverage


Hi Mark,

I asked the developers and they assure me that code coverage does support COBOL. If some procedures are in another program or service program, you might need to explicitly add the secondary program or service program from
the launch configuration dialog. If everything is in one big program then
we would need a test case to diagnose and understand the issue (i.e. a PMR )

Mike.


Mike Hockings, M.Eng., P.Eng.
IBM Rational Developer for System z and Power Systems Software Technical Support IBM Canada Ltd. Laboratory hockings@xxxxxxxxxx voice 1-905-413-3199 T/L 313-3199 ITN 23133199




From: "Austin, Mark" <Mark.Austin@xxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (wdsci-l@xxxxxxxxxxxx)"
<wdsci-l@xxxxxxxxxxxx>,
Date: 2014-08-21 03:33
Subject: [WDSCI-L] Code Coverage
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>



Hi guys,

I have just tried to use the code coverage for the first time on a quite complicated data conversion program written in SQL ILE COBOL and I am very perplexed with the results I got back. This may just be my lack of knowledge of code coverage but the first question is should code coverage work on SQL ILE COBOL programs or has COBOL be left behind again?


Procedure Name[cid:image001.gif@01CFBD19.349A4030]

Covered Lines

Total Lines

%Coverage


PRAOCPP-FILE_Declarative

0

722

0%

PCV0244

1

1

100%

MPOZCPL1-FILE_Declarative

0

7

0%

MPM7REL1-FILE_Declarative

0

6

0%

MPAVREL1-FILE_Declarative

0

9

0%

MPARREL1-FILE_Declarative

0

9

0%


The reason the results perplex me is because this program is 2.5k+ lines of procedure division code and the report shows 772 lines of code in one of my declarative sections and only 1 line of code in my program, PCV0244!

In the source listing included in the report the only piece of green (i.e.
indicated as code executed, to my understanding) is against the last of the program parameters on the PROCEDURE DIVISION statement. I assume this is because it is the program entry point, the same as where you start when you debug. As I know that the program ran to completion, producing a lot converted data, the majority of the code must have been executed.

So, if code coverage should work for SQL ILE COBOL, why does the report show none of the code executed?

This would be such a fantastic tool for proving to my boss, and the auditors, that the program has been tested properly, if I could get it to work.

Any help or advice would be greatly appreciated.

Best regards,
Mark Austin
IT Consultant
Universal Music Publishing Group
Email: mark.austin@xxxxxxxxxx<mailto:mark.austin@xxxxxxxxxx>
Tel: +44 (0) 20 8742 5520
Fax: +44 (0) 20 8742 5699
Post: 347-353 Chiswick High Road, London W4 4HS Universal Music Publishing International Limited Registered in England. Number 02050403 Registered Office: 20 Fulham Broadway, London, SW6 1AH


________________________________

?**Confidentiality**
The information contained in this e-mail is confidential, may be privileged and is intended solely for the use of the named addressee. Access to this e-mail by any other person is not authorised. If you are not the intended recipient, you should not disclose, copy, distribute, take any action or rely on it and you should please notify the sender by reply. Any opinions expressed are not necessarily those of the company.

We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.
--
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.
--
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.

________________________________

“**Confidentiality**
The information contained in this e-mail is confidential, may be privileged and is intended solely for the use of the named addressee. Access to this e-mail by any other person is not authorised. If you are not the intended recipient, you should not disclose, copy, distribute, take any action or rely on it and you should please notify the sender by reply. Any opinions expressed are not necessarily those of the company.

We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.
--
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.

________________________________

“**Confidentiality**
The information contained in this e-mail is confidential, may be privileged and is intended solely for the use of the named addressee. Access to this e-mail by any other person is not authorised. If you are not the intended recipient, you should not disclose, copy, distribute, take any action or rely on it and you should please notify the sender by reply. Any opinions expressed are not necessarily those of the company.

We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.