HP3000-L Archives

February 2004, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Walter Murray <[log in to unmask]>
Reply To:
Walter Murray <[log in to unmask]>
Date:
Wed, 18 Feb 2004 23:48:52 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
 "Shahan, Ray" wrote:
> Long ago and far away, the IBM's COBOL compiler would fail (severe error)
if
> it did not find a CLOSE statement for each OPEN statement in a COBOL
> program...don't know if this still the case for IBM, nor do I recall if
this
> is/was an ANSII standard?

I don't recall anything in the standard that requires a CLOSE statement to
be present, at least from the 1985 standard onward.  The compiler might want
to warn you about a missing CLOSE statement, but I'd say it's a bug if any
modern compiler failed to generate code because of it.

Walter

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2