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 |
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.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3222.1 | QUARRY::neth | Craig Neth | Thu Apr 03 1997 16:31 | 12 | |
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.2 | WENDYL::BLATT | Fri Apr 04 1997 10:59 | 10 | ||
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.3 | Getting severity info from the .MSG files | PACKED::MASLANKA | Fri Apr 04 1997 11:32 | 19 | |
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. |