Installing Natural Optimizer Compiler on z/OS

This document describes the steps for installing the Natural Optimizer Compiler (product code NOC) on z/OS.

Related Topic:

For information on the features and functions provided by the Natural Optimizer Compiler, see the Natural Optimizer Compiler documentation.

Notation vrs or vr:

When used in this document, the notation vrs or vr represents the relevant product version (see also Version in the Glossary).


See General Prerequisites and System Support in the section Overview of the Installation Process.

Installation Medium

The installation medium contains the following data set required for product installation:

Data Set Name Contents
NOCvrs.LOAD Load modules

Copy the data set into your environment as described in Copying Data Sets to a z/OS Disk in the section Installing Natural.

Sample Jobs

Sample installation jobs are contained in the NATvrs.JOBS data set and are prefixed with the product code. The data set is provided on the installation medium supplied for base Natural.

Installation Procedure

Be sure to read Installation Process and Major Natural Features before you start the installation procedure.

Step 1: Build the Natural Parameter Module

(Jobs I060 and I080)

  1. Activate the Natural Optimizer Compiler by adding the following macro to your Natural parameter module:


    See also Macro NTOPT in the Natural Optimizer Compiler documentation.

  2. Assemble and link the Natural parameter module.

Step 2: Relink the Nucleus or Load Modules Dynamically

You can either statically link the Natural Optimizer Compiler modules to the nucleus or dynamically load them when initializing a Natural session.

Relink the Nucleus:

(Jobs I060, I080)

Adapt the link steps for Natural:

  1. Add the following INCLUDE statement to the link of the nucleus to include the Natural Optimizer Compiler modules:


    Add the corresponding DD statement:

  2. Relink your nucleus as described in Link the Nucleus in Installing Natural.

Load Modules Dynamically

  1. Add the corresponding DD statement to your STEPLIB/DFHREPL/COMPLIB concatenation:

  2. At the start of a Natural session, set the Natural profile parameter RCA as follows:


    RCA is described in the Parameter Reference documentation.

Installation Verification

You can verify the successful installation of the Natural Optimizer Compiler by performing the following steps:

  1. Recatalog an existing program or write a new program and then catalog it.

  2. Check the directory information for the program you have just cataloged, by using the following LIST system command:

    LIST DIR object-name

    The directory information for the specified object will be displayed, showing the size of the machine code at the bottom of the screen.