Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: COBOL Error Handling (was: What MF says about ROUNDED
>>> On 9/21/2007 at 10:48 PM, in message
<L81Ji.49884$TK1.22637@fe04.news.easynews.com>, William M.
Klein<wmklein@nospam.netcom.com> wrote:
> "Frank Swarbrick" <Frank.Swarbrick@efirstbank.com> wrote in message
> news:46F4154F.6F0F.0085.0@efirstbank.com... 
> <snip> 
> times I 
> COBOL. 
> "try/catch/finally" 
>
> One of the "issues" with the '02 Common Exception Handling "model" was
> the
> decision to use DECLARATIVES - as these were already a "part of the
> language"
> for a few exceptions.  there is LIMITED control on such things in the
> '02
> Standard by using the 
> compiler directing statement to "localize" where detecting exceptions
> occurs.
> The RESUME statement (which will probably be made optional in the next
> revision - if any) has some options for how/where execution resumes (if
> the
> program decides to do so).
>
> I don't know if this helps any - and I certainly think that the basic
> "desing"
> is part of the reason that no compiler vendor has fully implemented it
> (and few
> have implemented it at all).  If you care, I believe the model is MOST
> similar
> to that which has (alwasy?) been available with PL/I (or even the EXEC
> CICS
> HANDLE CONDITON).  The two designs are NOT identical, but they are more
> similar
> to each other than to newer Try/Catch/Finally type designs.

I'm all for the more generic use of DECLARATIVES as use for a 'catch all'
for exceptions, but it seems like localization would be useful as well.

Ah well.  Not like any of this will ever be implemented where it would be
useful to me anyway...

Frank


Report this thread to moderator Post Follow-up to this message
Old Post
Frank Swarbrick
09-24-07 11:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:04 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.