MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

All lines in a program has been executed

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mainfrae
Beginner


Joined: 17 Feb 2006
Posts: 17
Topics: 9

PostPosted: Mon Apr 30, 2007 3:02 pm    Post subject: All lines in a program has been executed Reply with quote

Hi,

Is there anyway to ensure whether all the lines in a program has been executed.

I scouted in this forum related with this issue, but i am not able to pick it up.

Please give me some idea.

Thanks
Mainfrae
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Apr 30, 2007 3:05 pm    Post subject: Reply with quote

mainfrae,

Search for "debugging" in this link

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG10/CCONTENTS?DT=20020923143836

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Tue May 01, 2007 3:23 am    Post subject: Re: All lines in a program has been executed Reply with quote

mainfrae wrote:
Is there anyway to ensure whether all the lines in a program has been executed.
Why would you want to execute every line, wouldn't some be for error processing?
The Enterprise COBOL optimizer will point out code that will never be executed but not code that might not be executed.
Back to top
View user's profile Send private message
mainfrae
Beginner


Joined: 17 Feb 2006
Posts: 17
Topics: 9

PostPosted: Wed May 02, 2007 1:25 pm    Post subject: All lines in a program has been executed Reply with quote

Thanks for your information.


Thanks
Mainfrae
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed May 02, 2007 4:46 pm    Post subject: Reply with quote

CICS guy, I believe this is a reference to unit test.
Back to top
View user's profile Send private message Visit poster's website
DaveyC
Moderator


Joined: 02 Dec 2002
Posts: 151
Topics: 3
Location: Perth, Western Australia

PostPosted: Thu May 03, 2007 10:02 pm    Post subject: Reply with quote

If you have IBMs DebugTool it has a code coverage utility which reports the percentage of code executed in a test run. It looks quite good...
_________________
Dave Crayford
Back to top
View user's profile Send private message Send e-mail
acevedo
Beginner


Joined: 03 Dec 2002
Posts: 127
Topics: 0
Location: Europe

PostPosted: Fri May 04, 2007 4:32 pm    Post subject: Reply with quote

and SmarTest TCA.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group