Add Functions to the List

LANSA for i

Add Functions to the List

When the option to 'Add functions to list' is chosen from the Work with Export List Menu a screen similar to the following example is used to manipulate the export list:

 

 DC@P620006        Add Function to List         

  

  

 List       : XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    

  

 Enter full or partial name of the function(s) to be          

 worked with or leave blank to select from all functions  . . . S   

                                                                    

                                                  Comp.Export Export

 Sel Functn  Process   Description                Form Fields Files

  _  SALARY  PSLSYS    Salary commitment reports    Y     _     _   

  _  SEARCH  PSLSYS    Employee search              Y     _     _   

  _  SNAME   PSLSYS    Telephone number search      Y     _     _   

  _  SSECTAB PSLUTL    Select section               Y     _     _   

  _  SSELECT PSLUTL    Prompt selection             Y     _     _   

  _  SSKLTAB  PSLUTL  Select skill                  Y     _     _   

   

 

  

 Fnn=Help  Fnn=Exit Fnn=Generic  Fnn=Cancel  Fnn=Messages F22=ShowLong

 

 

The Add Function to List facility allows you to build temporary lists of functions known to LANSA and display them on the screen. From these displayed lists functions can be chosen for inclusion into your export list.

These lists can either be built from all functions, or only from functions that have a certain generic name.

The process definition will be exported with selected function/s.

A displayed list may not fit on one screen. This is indicated by a '+' sign in the lower right of the screen. In such cases use the roll up and roll down keys to scroll backwards and forwards through the displayed list.

The Sel column

Functions shown in the displayed list which are already included in the export list are shown with an 'X', G' or 'P' beside them.

  • An 'X' indicates the individual function has been selected.
  • A 'G' indicates the function has been selected by a generic function selection.
  • A 'P' indicates the function has been selected by a generic process selection.

The 'X', 'G' or 'P' cannot be removed. Use the option 'Review/delete objects already in list' to remove a selection from the export list.

To choose a function from the displayed list for inclusion in the export list enter an 'Y' beside it in the column headed 'Sel'.

Alternatively you may use the Generic function key to add the generic name into the export list. Generic names are described in detail in Generic Object Names. Care should be taken to not include a function by a generic process selection and by a generic function selection. If this is done the function definition and optional compiled form will be included twice in the export.

The Comp. Form, Export Fields and Export Files columns have the same functionality as those on the Add Processes/Functions to the List option. Refer to Add Processes/Functions to the List (Select by Process Name) for details.

Show Long Names

You can show the long name for a function in the list by placing the cursor on it and pressing F22. Refer to Long Names for more details.

When you have completed your selection, use the Cancel function key to return to the Work with Export List Menu.