Search

Showing posts with label Compilier Listing. Show all posts
Showing posts with label Compilier Listing. Show all posts

Wednesday, October 14, 2015

List possible compiler diagnostic messages



Use of Compiler diagnostic messages


A complete listing of compiler diagnostic messages can be generated with their explanations, by compiling a program with the program-id of ERRMSG specified in the PROGRAM-ID paragraph.

Example:

IDENTIFICATION DIVISION
PROGRAM-ID.ERRMSG.
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
STOP RUN.