Application Defaults

To access the application defaults maintenance functions, enter Code A on the General Defaults menu. An Application Name window appears:

+-------------------------------------------------------+          2000-04-20
|               --- Application Name ---                |  
|                                                       | 
| Name of the Application to be processed. The          | 
| name may be a specific name or a Range of names.      |  
| Range is specified as follows:                        | 
|                                                       | 
|   'val'* - Process all applications beginning         | 
|         with the string 'val'.                        | 
|   'val'> - Process all applications EQ or GT          | 
|        the value of 'val'.                            | 
|   'val'< - Process all Application EQ or LT           | 
|          the value of 'val'.                          | 
|                                                       | 
| Enter Application Name below:                         | 
|           ____________________________________        |                            
|                                                       | 
+-------------------------------------------------------+        

 Command ===>                                                               
 Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help  Menu  Exit                                                  Canc

Enter a range of application names or, to immediately return to the General Defaults menu, press PF3 or enter ".".

If there is an application whose name is in the specified range, a Modify Application Defaults screen appears:

 17:42:39          ***** PREDICT APPLICATION CONTROL *****           2000-04-20
  User SAGU             - Modify Application Defaults -                         
                                                                                
  Application Name                   Level   Level Name   Prefix  Gen No   MCG  
  --------------------------------   -----   ----------   ------  ------   ---- 
  CLOVER                             00001   1_________    CLO     ___14   ____ 
  FURZE                              00001   1_________    ___     _____   ____ 
  HEATHER                            00001   1_________    ___     ____1   ____ 
  MOSS                               00001   1_________    ___     _____   ____ 
  PREDICT                            00001   3.4_______    PRD     ____1   ____ 
  PREDICT_CASE                       00001   2.3.1_____    PCA     _____   ____ 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                 Press ENTER to continue or '.' to exit: __                     
                                                                                
 Command ===>                                                                   
 Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help  Menu  Exit              --          +                       Canc

If there is no application whose name is in the specified range, the General Defaults menu is re-displayed with a message.

The values of fields Level Name, Prefix, Gen No, and MCG of each listed application can be modified. They can also be modified at application modification in the Reporting and Maintenance subsystem of PAC.

The Level Name fields will take any character string values, whereby lower-case letters are replaced with their upper-case counterparts. The value of an application's Level Name field appears on the screens and displays the attributes of the application; it has no other significance.

The values of Prefix (a string of 1 to 3 characters) and Gen No (an unsigned integer automatically converted to a five digit sequence) are concatenated to replace "@GEN" at migration event addition. The value of Gen No is automatically incremented by one at the addition for the application of an event with sub-segment "@GEN" in its name. The values of Prefix and Gen No can be freely changed. Duplicate event names and event names beginning with digits are rejected at event addition - regardless of whether they have been entered in full by the user or have undergone "@GEN" replacement.

The value of an application's MGC field may affect the compilation of Natural objects at migration to the application's compartment.

The MCG option is a Natural profile parameter which activates the Natural Optimizer Compiler, which must be installed in your environment if you are using this option. Natural Optimizer Compiler is a Software AG product that extends the optimizing capabilities of Natural to complex statements and statement sequences including the following: array range operations; field concatenation; optimal base register assignment. If MCG is active, all programs are compiled to machine code.

The MCG field should be left blank if the Natural Optimizer Compiler is not installed. It must be set to "N" if Natural Optimizer Compiler is installed but is not to be used. Apart from these two values, the MCG will take "Y" and any string of "O", "I", "M" or "W".

Value Description
blank No MCG.
N MCG off.
Y Activates the MCG. Programs are partly compiled to machine code. Overflow checking, index checking, mix compilation, and I/O optimization are deactivated.
I Activates the MCG and index checking.
O Activates the MCG and overflow checking.
M Activates the MCG and mix compilation. (The machine code is generated compatible with IBM and Siemens.)
W Activates the MCG and the compilation to machine code of the Natural statements: DISPLAY, WRITE, WRITE TITLE, WRITE TRAILER, READ WORK FILE with SELECT option, WRITE WORK FILE.