p282 of Enterprise COBOL for z/OS, V6.1 Programming Guide

"Generating a list of compiler messages
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."

I don't know if it still fails if you leave out the final full-stop/period.

On Tuesday, 22 March 2016 15:07:26 UTC, Dana Mitchell  wrote:
> I always liked "Program-ID. ErrMsg",  it produced a good sized pile of 
> greenbar in school when somebody tried it.    I don't know if V6 still 
> supports that or not.
> 
> Dana

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to