1. Sign on to LANSA using this LANSA command:
<library name>/LANSA
2. From the LANSA Main System Menu, choose the Housekeeping Menu.
3. From the Housekeeping Menu, choose the Create or change system partition definitions option. The System Partitions panel is displayed with a list of the existing partitions:
DC@P400402 System Partitions Select partition to be reviewed, changed or deleted Sel Partition Description
|
4. Select the Add/Create function key (F6), to create a new partition. The Add System Partition screen is displayed:
DC@P400403 XXXXXXX System Partition Partition identifier : XXX Fnn=Help Fnn=Exit Fnn=Cancel Fnn=Messages Fnn=LastActDtl |
5. Change the entries on this screen to suit your requirements. For details of the screen's entries, refer to Partition Definitions - Create, Change or Delete in the LANSA for i User Guide.
It is recommended that all partitions are defined as multilingual.
This means that an appropriate default language (and any other languages) must be defined as described in Step 3. Add Languages for Multilingual Use. You must also specify the Add SAA/CUA Defaults that are included in this step.
In Visual LANSA a new partition is automatically defined as multilingual with a default language created for the partition.
6. Choose a prefix which is unique for your site.
7. When you have checked or changed all the relevant entries, press Enter. The Add SAA/CUA Defaults screen is automatically displayed.
DC@P400404 Add SAA/CUA Defaults Partition id : DEV ‑ LANSA Development Process menu style . . . . . . . . . . . . . . . . N N=Number C=Cursor F1=Help F3=Exit F12=Cancel F14=Messages |
8. Change to the characters you require, for example : . . : (colon, full stop, full stop, colon). For other options, refer to Creating or Changing Partition Definitions in the LANSA for i User Guide.
9. You should not have to change any other entries on this screen. Press Enter to continue to the SAA/CUA Color Attributes Defaults. These are spread over a number of panels similar to this one:
DC@P400405 Add SAA/CUA Color Attributes Defaults Partition : DEV ‑ LANSA Development Panel element/area and description Color Type/Attributes |
You can roll-up whenever you see a "+" in the right bottom corner.
You should not have to change any of the Color Attributes, as all fields contain the SAA/CUA standard defaults.
10.Press Enter to continue to the Function Key defaults which are spread over 2 panels.
DC@P400406 Add SAA/CUA Function Key Defaults Partition : DEV ‑ LANSA Development SAA/CUA function key description Short form Default |
Provide names and functions of keys Keys help 09 F1=Help F3=Exit F12=Cancel F14=Messages |
11.You should not have to change any of these entries, as all fields contain the SAA/CUA standard defaults. Press Enter.
LANSA will now create the new partition.
After a short wait, you will be returned to the System Partitions list, indicating that the new partition has been created.
12.Press the Cancel function key to return to the Housekeeping Menu.
| Note: Before you can use the new partition, you may need to move (or "import") some files, their definitions and data into it. To find out about the LANSA facilities for moving objects between partitions, refer to The LANSA Environment. |
Go to Step 3. Add Languages for Multilingual Use.