1. Start from the Main System Menu.
|
2. Select the File Control menu option.
Notify LANSA of the initial details of the file.
3. From the File Control Menu select the Create a new file definition option.
|
4. Press Enter and the Create New File Definition screen is displayed.
|
5. Enter the new File's Name, the Library and Description. The file name must be unique.
Initial public access specifies the access other users are to be given to the file. NORMAL allows other users to add, change and delete records but not modify the file's definition. ALL allows other users to add, change and delete records as well as modify or delete the file's definition. NONE prevents other users any access to records in this file.
Specify LANSA in the To be maintained by . . option, to indicate that the file will be maintained by LANSA.
The Copy file definition option allows you to create a new LANSA file definition from another LANSA file definition. It does not allow you to copy files defined outside of LANSA.
When you copy from an existing file definition, the following will be copied: fields (including virtual fields), file level validations & triggers, batch control and access routes. Logical views will not be copied.
6. When you have specified your entries, press Enter to start the creation of the new file definition.
Commit Amendments
Whenever you create or make modifications to a file definition, you will be prompted to commit the amendments.
|
Enter YES and Enter, to save the new file's definition. The File Definition Menu (Create) screen is displayed.
Note: If you are using Task Ids, then the relevant Task Identifier is displayed on this screen.
For further details about these entries, refer to Creating a New File Definition in the LANSA for i User Guide.