[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clt::cobol

Title:VAX/DEC COBOL
Notice:Kit,doc,performance talk info-->DIR/KEY=KIT or DOC or PERF_TALK
Moderator:PACKED::BRAFFITT
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3250
Total number of notes:13077

3222.0. "list of warning messages" by KCBBQ::PRESTON (big enough never is) Thu Apr 03 1997 18:31

I need a list of all the warnings that can be generated by the VAX (ver 5.0) 
and DEC (ver 2.0) Cobol Compilers. 

Where can these be found in the reference manuals ? 

I also need to know what"/warnings" groups these warnings are associated with.
Ex: What warnings are associated with the /warnings=Standard group.

The FDA has asked my customer (application VAR) to provide an answer.

Thanks,

- Taylor
T.RTitleUserPersonal
Name
DateLines
3222.1QUARRY::nethCraig NethThu Apr 03 1997 19:3112
The first part is easy: The message file source is shipped as part of the kit 
- look in sys$update:cobolmsg.msg (for VAX) or sys$update:cobol$msg.msg 
(Alpha).  [Note that I think this is a kit option so you might have to
reinstall the kit and answer the questions appropriately to get it]

The severity levels are recorded in the file (look for the .SEVERITY
directives which introduce blocks of messages with the same severity).

As far as the /warnings groupings, that sounds harder.   I'm not sure
there is any current table that maps the different messages to the
groups; someone will probably have to go through the code and figure that
out.
3222.2WENDYL::BLATTFri Apr 04 1997 13:5910
The /FLAGGER option might be of interest as well.  That is partly
involved to specify a group of informational warnings relating
to various levels of FIPS validation levels.

Perhaps the help file on /FLAGGER and /WARN can help answer the question
in a general sense.




3222.3Getting severity info from the .MSG filesPACKED::MASLANKAFri Apr 04 1997 14:3219
Re .0

As Craig said in .1, the places where the DEC COBOL and VAX COBOL
diagnostic messages are contained in a single list is in the 
COBOL$MSG.MSG and COBOLMSG.MSG files which appear on the installation
kits for those two products.

It is difficult to interpret what you mean by Warnings groups.
There are four levels of severity (Fatal, Error, Warning and
Informational). Each message in the respective file is marked
with a severity code. There is no /Warnings=Standard. Please 
see the on-line COBOL help for the documentation on /Warnings.

In addition, the two products have a /FLAGGER capability, which
has seven categories. It has to be used in conjunction with 
/WARN. There is a small group of messages in each .MSG file
which has the designation FIP embedded in each message. These
can be found with the $ SEARCH command in both files. There is
on-line COBOL help for /FLAGGER as well.