When the option to 'Add processes/functions to list' (selection by process name) is chosen from the Work with Export List Menu a screen similar to the following example is used to manipulate the export list:
This facility allows you to build temporary lists of processes (and associated functions) known to LANSA and display them on the screen. From these displayed lists, processes and/or functions can be chosen for inclusion into your export list.
These lists can either be built from all processes, or only from processes that have a certain generic name.
When any process is included in a displayed list all its associated functions are also shown for possible selection.
The process definition will be exported with its selected function/s regardless of whether it is selected or not. If a process is not selected with its associated functions it will run in interpretive mode after import.
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
Processes and/or functions which are already included in the export list, are shown with an 'X', 'G' or 'F' beside them.
The 'X', 'G' or "F' cannot be removed. Thus a process or function cannot be removed from the export list using this facility. Use the option 'Review/Delete Objects Already in the List' to do this.
Enter an 'Y' beside a process or function from the displayed list to include it in the export list.
Alternatively you may use the Generic function key to add the generic name into the export list. When a process is generically selected, all of its functions are included as well. Generic names are described in detail in Generic Object Names.
Beside the chosen process or function, enter 'Y' in this column to indicate that the process or function is to be exported in 'compiled' or 'ready to use' form. If this option is used the process or function will be usable as soon as it has been imported into the target system.
If this option is not used the process or function definition will have to be 'compiled' on the target system after it has been imported.
When using the Generic function the decision to export the process and function's compiled form is entered through a pop-up. The decision made is applied to all processes/functions that are selected by this generic name.
To automatically include in the export list all fields that are used by a function, enter a 'Y' in this column beside the chosen function.
If the Include all fields is requested and the function is in a Web enabled process, then web visual components for the fields used in the function will also be added to the export list, provided the the target system is NOT an AS/400 and *NOWEBEXP flag is not set.
The 'Export Fields' column is ignored when using the Generic function.
An option is provided to automatically include in the export list all file definitions that are used by a chosen function. To do this enter a 'Y' in this column beside the chosen function.
The 'Export Files' column is ignored when using the Generic function.
The option to automatically choose fields and files used by a function will only perform correctly if the chosen function is currently compiled.
It is strongly recommended that if a function is chosen for export that its associated process should also be chosen. Additionally, the ability to choose an individual function within a process should only be used in simple amendment situations. In all other cases select the process and all its associated functions.
Web detail export
Web details for Process and Functions will be exported provided the process is web enabled, the export target system is NOT an AS/400 and system flag *NOWEBEXP is not set in the system data area DC@OSVEROP.
You can turn on or off the *NOWEBEXP flag via Include Web Details in Export in Export and Import settings.
If web details are to exported for a process and *LW3 type system variables have been created for the process (eg *LW3PBGI_pppppppppp), these *LW3 system variables for the process will be added to the list. These *LW3 type system variables will not be added when using the Generic function.
If the web details are to be exported and a browse list used in the function has been customized by use of *LW3 type system variables, these *LW3 system variables for the browse list will be added to the list. These *LW3 type system variables will not be added when using the Generic function.
Show Long Names
You can show the long name for a process or function in the list by placing the cursor on it and pressing F22. Refer to Long Names for more details.
When you have completed using this facility, use the Cancel function key to return to the Work with Export List Menu.