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
2. Review or change a file definition
3. Delete a file definition
4. Make new or amended file definition operational
5. Print file definitions
6. Bulk Load of OTHER files
7. Exit from LANSA
F1=Help F3=Exit F12=Cancel F14=Messages
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
with or leave blank to select from all file definitions _____________
F1=Help F3=Exit F12=Cancel F14=Messages
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.
|
|---|
|
4. Select the option to Load definition of file not maintained by LANSA and press Enter to start the load process.
Logical Files
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.
Commit Amendments
5. Whenever you create or make modifications to a file definition, you are prompted to commit the amendments.
|
|---|
|
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.