Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

Hercules - Ausgabe variabel langer Sätze mit C

Subject:

Re: [hercules-os380] Re: variable length record

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

Date:

2013.07.31 01:16:00


Am 30.07.2013 20:21, schrieb K.V.:
> C is designed to adapt itself to its environment.
>
> I would say that in the MVS environment, when
> MVS decides to abend, then dammit, abend should
> be what the user of the program receives. That
> is what I expect from an MVS program - C or
> non-C. That's what the MVS model promotes. IMHO.
>
> BFN.  P.
>
>

The concept of the C runtime (aka ANSI C library) regarding errors during
writing on files is to keep the application alive and to provide a function to
check for such errors, that is ferror. This behaviour should be the same on all
platforms, that's what portability is all about. And so I think the developers
of LE (which is today's name of the former C/370 runtime) did it right when they
catched the B37 and other file related abends and continued execution. Of
course, you always have some performance penalty when you fit the I/O subsystem
of a particular opsys to the needs of a programming language or the given
semantics of a library.

Kind regards

Bernd

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie