This document describes the steps for installing the Natural Optimizer Compiler (product code NOC) on BS2000.
For information on the features and functions provided by the Natural Optimizer Compiler, see the Natural Optimizer Compiler documentation.
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.
The installation medium contains the following file required for product installation:
| File Name | Contents | 
|---|---|
NOCvrs.MOD |  
                                
                        Load modules and object modules | 
Copy the file into your environment as described in Copying Files to a BS2000 Disk in the section Installing Natural.
Sample installation jobs are contained in the NATvrs.JOBS file
                    and are prefixed with the product code. The file is provided on the
                    installation medium supplied for base Natural.
               
Be sure to read Installation Process and Major Natural Features before you start the installation procedure.
(Jobs I060 and I080)
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.
Assemble and link the Natural parameter module.
You can either statically link the Natural Optimizer Compiler modules to the nucleus or dynamically load them when initializing a Natural session.
(Job I060)
Adapt the link steps for Natural:
Add the following INCLUDE statement to the link of the
                                environment-independent nucleus to include the Natural Optimizer Compiler
                                modules:
                     
INCLUDE NOCNUC,NOCvrs.MOD
Relink your nucleus as described in Link the Nucleus in Installing Natural.
You can verify the successful installation of the Natural Optimizer Compiler by performing the following steps:
Recatalog an existing program or write a new program and then catalog it.
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.