The file definition menu is used when creating a new file definition or reviewing/changing an existing file definition. The method by which the file definition menu is used can be visualized as follows:
__________
| |
| FILE |
| CONTROL |
| MENU |
|__________|
|
________________|________________
| |
"Create a new file definition" "Review or change a file definition"
option chosen from menu option chosen from menu
___|___ __|____
| | | |
| SPECIFY | | SELECT |
| NEW FILE | | FILE TO |
| NAME | | REVIEW / |
| | | CHANGE |
|_________| |_________|
| |
|___________________________________|
___|____
| |
| FILE |
|DEFINITION|
| MENU |
|__________|
_____________________|___________________
___|___ __|___ | __|___ __|____
| | | | | | | | |
| FIELDS | | LOGICAL | | | FILE | | FILE |
| IN | | VIEWS OF | | |VALIDATION| | ACCESS |
| FILE | | FILE | | |RULES AND | | ROUTES |
| | | | | | TRIGGERS | | |
|_________| |________| | |________| |_________|
_____________________|___________________
___|___ __|___ __|___ __|____
| | | | | | | |
| VIRTUAL | | BATCH | | DATABASE | | LOAD |
| FIELDS | | CONTROL | |ATTRIBUTES| | "OTHER" |
| & CODE | | LOGIC | | | | FILE |
|_________| |________| |________| |_________|
The file definition menu is the menu that is always used to create, review or change any of the components of the LANSA file definition and looks like this:
|
|---|
|
Note that the "aaaaaa" value shown in the screen title is actually displayed as Create or Review to indicate what action is being taken on the file definition.
By working from the file definition menu you can define, review or change the fields in a file, logical views, validation rules, access routes, batch control logic, database file attributes and load the definition of file not maintained by LANSA. Each of these components of the file definition is described in detail in the following sections.