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.