Installing Natural Optimizer Compiler on z/OS

#### Search Results

Search

# Installing Natural Optimizer Compiler on z/OS

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

- Prerequisites

- Installation Medium

- Installation Procedure

- Installation Verification

#### 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).

## Prerequisites

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: Install the Natural Optimizer Compiler License File

- Step 2: Build the Natural Parameter Module

- Step 3: Relink the Nucleus

### Step 1: Install the Natural Optimizer Compiler License File

In addition to the Natural product license file, a license file is required and must be installed for each environment in which Natural Optimizer Compiler (NOC) runs. For license file NOCvrs.LICS, see Step 2: Prepare, Convert, Assemble and Link the License File.

Natural Optimizer Compiler will not be enabled unless a valid Natural Optimizer license file is installed. Trying to activate the NOC without a valid license file results in warnings or errors at session start.

### Step 2: 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:

       NTOPT 'INDX,OVFLW,ZD=OFF'

   See also Macro NTOPT in the Natural Optimizer Compiler documentation.

2. Assemble and link the Natural parameter module.

### Step 3: 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:

        INCLUDE NOCLIB(NOCNUC)

   Add the corresponding DD statement:

       //NOCLIB DD DSN=NOCvrs.LOAD,DISP=SHR

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

## 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.

### On this page

- Prerequisites
- Installation Medium
- Installation Procedure
- Installation Verification