Version 4.2.6 for Mainframes (Update)
 —  Using Natural  —

Configuring your Natural Environment

Natural parameters manage the configuration of a Natural environment.

Natural parameters are used to standardize and automate development and production processes or adjust standard settings to the needs of individual users. A Natural parameter, for example, is used to set defaults for report creation, define the size of a report or define the size of storage area required such as the source area of an editor.

Most of the characteristics of a Natural environment are predefined by Software AG. The Natural administrator can configure different default environment settings valid for all Natural users. A user can adapt the settings to his needs by overriding default environment settings with a dynamic profile parameter or session parameter.

This section covers the following topics:


Using Profile Parameters

Profile parameters are specified statically or dynamically.

Static parameters are specified in the Natural parameter module NATPARM, during the installation of Natural. They are used as the default for each Natural session.

Dynamic parameters are specified at the startup of a Natural session. You can predefine a set of dynamic parameters with the Natural SYSPARM utility.

A predefined set of dynamic parameters is a Natural object of the type parameter profile.

At session start, you can specify one or more parameter profiles and one or more single profile parameters as indicated in To specify profile parameters at session start.

A parameter specified at session start (with a parameter profile or without), overrides any value specified for the corresponding parameter in a standard parameter profile assigned to a session and/or in the Natural parameter module NATPARM; see also Parameterization Levels.

Start of instruction set To set profile parameters in NATPARM

Start of instruction set To create a parameter profile using SYSPARM

  1. Invoke the SYSPARM utility by entering the following system command:

    SYSPARM
  2. Choose ENTER.

    The Menu of the Natural SYSPARM utility appears.

  3. In the Code field, enter an A (Add New Profile), and in the Profile field, enter the name of the parameter profile you want to create as shown in the example below:

    11:36:19             ***** NATURAL SYSPARM UTILITY *****            2009-05-20
     User SAG                          - Menu -                                    
                                                                                    
                           Code  Function                                          
                                                                                    
                            L    List Profiles                                     
                            D    Display Profile                                   
                            A    Add New Profile                                   
                            M    Modify Profile                                    
                            C    Copy Profile                                      
                            X    Delete Profile                                    
                            ?    Help                                              
                            .    Exit                                              
                                                                                    
                 Code ..... A                                                      
                 Profile .. TESTPROF   DBID ..    10  FNR .......  1640            
                 Copy to .. ________                  Password ..                  
                                                      Cipher ....                  
                                                                                  
                                                                                    
                                                                                    
    Command ===>
    
    
    
    
    
    
    
                                                                       
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help        Exit                                                  Canc
  4. Choose ENTER.

    The editing area of the SYSPARM utility appears.

  5. Enter the profile parameter(s) and parameter value(s) required as shown in the example of a parameter profile below. For possible parameter settings, refer to the relevant descriptions of profile parameters in the section Profile Parameters in the Parameter Reference documentation.

    16:57:37             ***** NATURAL SYSPARM UTILITY *****            2009-05-20
     >  FUSER=(10,32)                                                             <
     >  LS=250,PS=60                                                              <
     >  WORK=((6-8),AM=PC)                                                        <
     >  DB=(ADAV7,*)                                                              <
     >  PC=ON                                                                     <
     >  AUTO=ON                                                                   <
     >  MENU=OFF                                                                  <
     >                                                                            <
     >                                                                            <
     >                                                                            <
     >                                                                            <
    Help with parameters .. _______                        (Profile name: TESTPROF)
                                                                                   
    Command ===>                                                                   
                                                                          
    
    
    
    
    
    
                                                                                   
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help        Exit  Check Save                    Insrt Del   Copy  Canc
  6. Choose PF4 (Check) to check and, if required, correct the syntax.

    For the syntax that applies, refer to Dynamic Assignment of Parameter Values in the Operations documentation.

  7. Choose PF5 (Save) to save the parameter profile as a source object under the specified name in the current system file (the default setting is FNAT).

Start of instruction set To set profile parameters at session start

Related Topics:

Top of page

Using Session Parameters

Session parameters are specified within an active Natural session and/or within a Natural object. The main purpose of session parameters is to control the execution of Natural programs.

Start of instruction set To set a session parameter

Start of instruction set To check or modify parameter settings for the current session

Related Topics:

Top of page

Parameterization Levels

There is a hierarchical structure of the levels at which Natural parameters can be set. A parameter value set on a higher level overrides the value defined on a lower level. For example, when you specify a parameter dynamically, the new parameter value overrides the static specification as set for the corresponding parameter in the Natural parameter module NATPARM.

The diagram below illustrates when a parameter can be set and the Natural parameter hierarchy from the lowest level at the base of the pyramid to the highest level at the apex:

Related Topic:

Top of page