Offset Or Nooffset- Off Or Noof; Options Or Nooptions - Optn Or Nooptn; Print Or Noprint; Prompt Or Noprompt - IBM 5280 Programmer's Manual

Distributed data system, cobol
Hide thumbs Also See for 5280:
Table of Contents

Advertisement

in the object module put out by the compiler. See "DECK or NODECK"
earlier in this chapter.
U'Note: When compiling more than one source program in the same job, either
OBJECT or NOOBJECT must apply to all the programs being compiled.
Specify the desired option in a *PROCESS statement before the first
program, or, for OSjVS, in the PARM field of the EXEC statement.
OFFSET
or
NOOFFSET- OFF
or
NOOF
If you specify OFFSET, the compiler will print a list of relative offsets in
main storage for each procedure division verb in the source program; the
default is NOOFFSET.
A listing of offsets is useful in identifying the statement being executed when
an error occurs and a listing of the object module (obtained by specifying
LIST) is not available.
LIST overrides OFFSET.
OPTIONS
or
NOOPTIONS - OPTN
or
NOOPTN
PRINT
or
NOPRINT
PROMPT
or
NOPROMPT
When OPTIONS, the default, is in effect, the assembler will print a list of all
the options in effect for the compilation, both the options you explicitly
express in a PARMS or *PROCESS statement and the default options.
Figure 7.7 shows a listing when OPTIONS was specified.
OOPTIONS IN EFFECT FOR THIS COMPILATION:
FLAG(I)
LINECOUNT( 56)
OBJECT
OPTIONS
PRINT
QUOTE
RUNMSG ( 1 )
SOURCE
STMT
NOFIPS
NOGONUMBER
NOLIST
NOMAP
NONUMBER
NOOFFSET
NO SEQUENCE
NOXREF
Figure 7.7. Sampie iisting with OPTIONS specified
When PRINT, the default, is in effect, a listing will be produced according to
the other options in effect. NOPRINT suppresses all printing regardless of
what other options you specify.
This option determines whether or not prompts will appear when a COBOL
program is loaded. If you specify prompt, the prompts described under
"Prompts for Run-Time Options" in Chapter 8 will appear. If you specify
7- 14
IBM 5280 COBOL Programmer's Guide

Advertisement

Table of Contents
loading

Table of Contents