You are here: LANSA for i User Guide > 4. Processes and Functions > 4.18 Function Control Table > 4 18 5 Function Control Table Maintenance

4.18.5 Function Control Table Maintenance

When the option to review or change the process control table is selected from the process definition menu a screen similar to the example following will be presented:

 

 DC@P301501                 Function Control Table                     

                                                                       

 Process : FUNCFLOW   FUNCTION FLOW TEST                               

                                                 Display on      Menu  

 Function Description                            process menu     Seq  

 FUNC1  Function 1                            YES          A0001  

      Default next function   :  FUNC2                            

      Allowable next functions:  FUNC2     FUNC3     SELECT            

                                 ________  ________  ______  ________  

                                 ________  ________  ______  ________  

                                 ________  ________  ______  ________  

 

 FUNC2  Function 2                            NO                   

      Default next function   :  FUNC3                                

      Allowable next functions:  FUNC3     SELECT                     

                                 ________  ________  ______  _______  

                                 ________  ________  ______  _______  

                                 ________  ________  ______  _______  

                                 ________  ________  ______  _______  

 

 Fnn=Help  Fnn=Exit  Fnn=Cancel  Fnn=Messages                   

 

 

From the Function Control Table screen it is possible to:

Input Options

The following options apply to reviewing or changing entries in a process control table.

Function

Indicates the function to which this entry in the function control table belongs/is associated with. This is an output field and cannot be changed.

Description

Specifies the description associated with the function above. This is the description of the function that was specified when the function was created and is the description of the function that will be displayed on the process's main menu.

The description can be changed if desired, but a description must always exist for each and every function in the function control table.

Display on Process Menu

Specifies whether or not this function should be displayed (and therefore be accessible from) the process's main menu. Allowable values are YES indicating that the function should be displayed on and be accessible from the process's main menu, or NO indicating that the function should not be displayed on or be accessible from the process's main menu.

Menu Seq (Menu Sequence)

Specifies the order of the functions on the Process Menu If the function is to be displayed on the process menu then the order in which it appears on the process menu can be governed by an entry in this alpha field.

Note: This field is an alphanumeric field. Care should be taken when ordering the functions. See examples in the next section.

 

Default Next Function

Specifies the function that is "usually" invoked after this function has been completed. Allowable values are any function defined in the process or any of the "reserved" function names except for *ANY which makes no sense in this context.

Allowable Next Functions

Specifies up to 20 functions that are allowed to be invoked after this function has been completed. Allowable values are any function defined in this process or any of the "reserved" function names.

The use of special value *ANY is recommended if any function can be invoked rather than listing all function names.

If *ANY is used it should be the only entry in the list.

If *ANY is not used, ensure that the "default next function" is included into the list.

Lists that do not include "reserved" names EXIT and MENU are effectively disabling the use of the EXIT and MENU function keys. The EXIT and MENU function keys are processed by simulating the entry of "next functions" of EXIT and MENU respectively.