TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: LEW PITCHER
from: MICHAEL J. MAHON
date: 2020-03-13 18:49:00
subject: Re: self hosting on the P

Lew Pitcher  wrote:
> On March 13, 2020 19:07, Dennis Lee Bieber wrote:
>
>> On Fri, 13 Mar 2020 16:41:25 +0000, Ahem A Rivet's Shot
>>  declaimed the following:
>>
>>> On Fri, 13 Mar 2020 14:32:09 -0000 (UTC)
>>> Martin Gregorie  wrote:
>>>
>>>> Full-stops mean stuff to a COBOL compiler!
>>>
>>> The largest output per bad byte of source I've ever seen came from
>>> a COBOL compiler absorbing the consequences of a missing full stop (IIRC
>>> after the word DIVISION). It got very confused and went on about it at
>>> great length.
>>
>> In my college days, we had a student who'd fed her object file back
>> into the compiler... That generated a wad of error output...
>
> [quote]
>   You can generate a complete listing of compiler diagnostic messages with
>   their message numbers, severities, and text by compiling a program that
>   has program-name ERRMSG.
>
>   You can code just the PROGRAM-ID paragraph, as shown below, and omit the
>   rest of the program.
>
>   Identification Division.
>   Program-ID. ErrMsg.
> [/quote/
>
https://www.ibm.com/support/knowledgecenter/en/SS6SG3_6.2.0/pg/tasks/tpclr11.ht
ml
>

There was a period of several years when many compilers had pragmas to
print all their error messages. I always suspected it was done to allow
easy verification that there were no inappropriate messages (i.e., obscene
or insulting).  ;-)

--
-michael - NadaNet 3.1 and AppleCrate II:  http://michaeljmahon.com

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.