Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Example: short listing

The parenthetical numbers shown in the listing below correspond to numbered explanations that follow the listing. For illustrative purposes, some errors that cause diagnostic messages were deliberately introduced.

Invocation parameters:      (1)
 OPTFILE
PROCESS(CBL) statements:    (2)
 CBL NODECK
 CBL NOADV,NODYN,NONAME,NONUMBER,QUOTE,SEQ,DUMP
 CBL NOSOURCE, NOXREF, NOVBREF, NOMAP, NOOFFSET, NOLIST
Options from SYSOPTF:       (3)
 C,NODU,FLAG(I),X,MAP,NOLIST,RENT,OPT,SSR
 TEST(NOHOOK,SEP)  TRUNC(OPT)
Options in effect:          (4)
 NOADATA
 NOADV
   QUOTE
   ARITH(COMPAT)
 NOAWO
   BUFSIZE(4096)
 NOCICS
   CODEPAGE(1140)
   COMPILE
 NOCURRENCY
   DATA(31)
 NODATEPROC
   DBCS
 NODECK
 NODIAGTRUNC
 NODLL
   DUMP
 NODYNAM
 NOEXIT
 NOEXPORTALL
 NOFASTSRT
   FLAG(I)
 NOFLAGSTD
   INTDATE(ANSI)
   LANGUAGE(EN)
 NOLIB
   LINECOUNT(60)
 NOLIST
 NOMAP
 NOMDECK
 NONAME
   NSYMBOL(NATIONAL)
 NONUMBER
   NUMPROC(NOPFD)
   OBJECT
 NOOFFSET
   OPTIMIZE(STD)
   OUTDD(SYSOUT)
   PGMNAME(COMPAT)
   RENT
   RMODE(AUTO)
   SEQUENCE
   SIZE(MAX)
 NOSOURCE
   SPACE(1)
 NOSQL
   SQLCCSID
   SSRANGE
 NOTERM
   TEST(NOHOOK,SEPARATE,NOEJPD)
 NOTHREAD
   TRUNC(OPT)
 NOVBREF
 NOWORD
   XMLPARSE(XMLSS)
 NOXREF
   YEARWINDOW(1900)
   ZWB                                                                                
LineID  Message code  Message text   (5)
        IGYDS0139-W   Diagnostic messages were issued during processing of compiler options.
                      These messages are located at the beginning of the listing.
        IGYSC0090-W   3 sequence errors were found in this program.
   160  IGYDS1089-S   "ASSIGNN" was invalid.  Scanning was resumed at the next area "A" item,
                      level-number,or the start of the next clause.
   193  IGYGR1207-S   The "ASSIGN" clause was missing or invalid in the "SELECT" entry for file
                      "LOCATION-FILE".  The file definition was discarded.
   269  IGYDS1066-S   "REDEFINES" object "WS-DATE" was not the immediately preceding level-1 data item.
                      The "REDEFINES" clause was discarded.
   901  IGYPS2052-S   An error was found in the definition of file "LOCATION-FILE".  The reference to
                      this file was discarded. Same message on line:    983
   993  IGYPS2121-S   "WS-DATE" was not defined as a data-name.  The statement was discarded.
                      Same message on line:    994
   995  IGYPS2121-S   "WS-TIME" was not defined as a data-name.  The statement was discarded.
                      Same message on line:    996
   997  IGYPS2053-S   An error was found in the definition of file "LOCATION-FILE".  This input/output
                      statement was discarded. Same message on line:   1008
Messages    Total    Informational    Warning    Error    Severe    Terminating   (6)
Printed:    14                          3                  11
  * Statistics for COBOL program IGYTCARA:    (7)
*    Source records = 1735
*    Data Division statements = 287
*    Procedure Division statements = 471
End of compilation 1,  program IGYTCARA,  highest severity 12.  (8)
Return code 12
(1)
Message about options passed to the compiler at compiler invocation. This message does not appear if no options were passed.
OPTFILE
Requests options from a SYSOPTF data set.
(2)
Options coded in the PROCESS (or CBL) statement.
NOOFFSET
Suppresses a condensed listing of the PROCEDURE DIVISION.
NOMAP
Suppresses a map report of the items defined in the DATA DIVISION.
(3)
Options obtained from the SYSOPTF data set (because the OPTFILE compiler option was specified).
NOLIST
Suppresses an assembler-language expansion of the source code.
TEST(NOHOOK,SEP)
The program was compiled for use with Debug Tool or formatted dumps.
(4)
Status of options at the start of this compilation.
(5)
Program diagnostics. The first message refers you to any library phase diagnostics. Diagnostics for the library phase are presented at the beginning of the listing.
(6)
Count of diagnostic messages in this program, grouped by severity level.
(7)
Program statistics for the program IGYTCARA.
(8)
Program statistics for the compilation unit. When you perform a batch compilation, the return code is the highest message severity level for the entire compilation.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)