The detailed definition of the file must now be loaded into the LANSA Repository. This loading process consists of populating the Repository with the fields (field length, position in file, etc.) that make up the record layout of the file and the logical files, if used.
1. From the File Control Menu select the Review or change a file definition option.
pppFILMENU File Control Menu Enter number of function or place cursor on same line and press Enter. 2 1. Create a new file definition
|
This option is selected because the new file definition was created in the previous step.
2. Press Enter and you are asked to nominate the file to be loaded:
pppSELFILE Select File to Work with Enter full or partial name of the file definition(s) to be worked
|
3. Select your file as described in 5.4.5 Nominate the File to work with. When you have selected the file, press Enter and the File Definition Menu (Review) is displayed.
pppFILREV File Definition Menu (Review) Enter number of function or place cursor on same line and press Enter. 9 1. Review or change fields in file definition File being worked with is . . . . : File Description F1=Help F3=Exit F12=Cancel F14=Messages |
4. Select the option to Load definition of file not maintained by LANSA and press Enter to start the load process.
During the load process, logical file definitions are created, when applicable. You will be given the option of retaining or rejecting each one. Rejecting a logical view has no impact on any system other than LANSA.
5. Whenever you create or make modifications to a file definition, you are prompted to commit the amendments.
COMMITAMD Commit File Amendment(s) Commit amendment(s) . . . . . . . . . YES YES, NO
|
Enter YES, otherwise you will lose all the changes you have made.
| Note: If you are using Task Ids, then the relevant Task Identifier is displayed on this screen. |
Go to Step 3. Review the File's Definition.