This document describes the steps for installing the Natural Optimizer Compiler (product code NOC) on z/VSE.
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 data set required for product installation:
| Data Set Name | Contents | 
|---|---|
NOCvrs.LIBR |  
                                
                        Source modules, macros, phases and object modules | 
Copy the data set into your environment as described in Copying Data Sets to a z/VSE Disk in the section Installing Natural.
Sample installation jobs are contained in the NATvrs.LIBJ data set
                    and are prefixed with the product code. The data set 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.
(Jobs I060, I080)
Adapt the link steps for Natural:
Add the following INCLUDE statement to the link of the
                                nucleus to include the Natural Optimizer Compiler modules:
                     
INCLUDE NOCNUC
Relink your nucleus as described in Link the Nucleus in Installing Natural.
Add the library containing the phases statement:
// LIBDEF PHASE,SEARCH=(,,,,,SAGLIB.NOCvrs,...),TEMP
At the start of a Natural session, set the Natural profile parameter
                                 RCA as follows:
                     
RCA=NOCGW,RCALIAS(NOCGW,NOCNUC)
RCA is described in
                                 the Parameter Reference documentation.
                     
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.