OPTIONS

#### Search Results

Search

# OPTIONS

`OPTIONS` parameter

This document covers the following topics:

- OPTIONS Usage

- Processing of Multiple OPTIONS Statements

## OPTIONS Usage

The `OPTIONS` statement can be used to specify compilation options as parameters for the current Natural object. These are the same options that can be specified within a Natural session with the `COMPOPT` system command.

Note
No z/OS-specific options are available. For compatibility reasons, for example, when programming a cross-platform application, such options are ignored during compile time.

## Processing of Multiple OPTIONS Statements

If multiple `OPTIONS` statements are specified within the same Natural object, the option settings take effect immediately. However, this is not the case with the options `PSIGNF`, `TSENABL` and `GFID`. For these options, the option value specified with the last `OPTIONS` statement applies.

### On this page

- OPTIONS Usage
- Processing of Multiple OPTIONS Statements