OFFSET

OFFSET affects whether a condensed PROCEDURE DIVISION listing is produced.

Syntax

Read syntax diagramSkip visual syntax diagramOFFSET=*NOYES
Default
OFFSET=NO
YES
Produces a condensed PROCEDURE DIVISION listing, which will contain line numbers, statement references, and the location of each block of instructions generated for a statement. The optimizer might inline paragraphs, move code around, or indeed place it after the body of the program if little used, such as the error message formatting code. As a result, there might be more than one entry in the OFFSET table of a given statement.

These items will also be written to the output listing:

  • Constant area
  • Program prolog areas (PPA1, PPA2, PPA3, PPA4)
  • Time stamp and compiler version information
  • Compiler options and program information
  • Base locator table
  • External symbols dictionary
  • Initial heap storage maps
  • Stack storage maps
NO
Does not condense the listing or produce the items listed above.

The LIST and OFFSET compiler options are mutually exclusive. Setting OFFSET=YES and LIST=YES results in a nonzero return code when you attempt to assemble the customization macro. For more information about conflict resolution, see Conflicting compiler options.