What Happens When a File Definition Is Loaded (or Re-Loaded)?
Page 1 of 1
What Happens When a File Definition Is Loaded (or Re-Loaded)?
These are the steps taken in the loading / re-loading of a file definition:
a) The user's authority to alter the LANSA file definition is checked.
b) The LANSA file definition is checked to ensure that the file is defined as being "OTHER". (Maintained by some method OTHER than LANSA.)
c) The fields within the external file are checked to see if they currently exist within LANSA data dictionary. If they do then their type, length, number of decimal positions and keyboard shift must match the dictionary definition. If they do not exist then the field definition is automatically added to the LANSA data dictionary.
d) The LANSA physical file definition is then deleted and re-loaded from the external file definition. Any rules or triggers that directly reference fields no longer in the file definition are automatically deleted.
e) The LANSA definitions of any logical files based on the physical file are then deleted and re-loaded from the external file definitions. As each logical file is located, the user is asked whether or not they wish to make the file accessible via LANSA
a) The user's authority to alter the LANSA file definition is checked.
b) The LANSA file definition is checked to ensure that the file is defined as being "OTHER". (Maintained by some method OTHER than LANSA.)
c) The fields within the external file are checked to see if they currently exist within LANSA data dictionary. If they do then their type, length, number of decimal positions and keyboard shift must match the dictionary definition. If they do not exist then the field definition is automatically added to the LANSA data dictionary.
d) The LANSA physical file definition is then deleted and re-loaded from the external file definition. Any rules or triggers that directly reference fields no longer in the file definition are automatically deleted.
e) The LANSA definitions of any logical files based on the physical file are then deleted and re-loaded from the external file definitions. As each logical file is located, the user is asked whether or not they wish to make the file accessible via LANSA
Similar topics
» Explain the difference between normal AS/400 file definition and Lansa file Definition?
» What are the reasons a logical file may be "dropped" during the File definition load process?
» What? A high speed table is not a "thing" in itself. A high speed table is a normal LANSA file definition that has its "high speed" flag set to YES. • A LANSA file definition flagged as high speed table is actually implemented as a normal database file.
» Where did the changes to the file definition go?
» What actions can be performed using "Extended definition of Virtual field ?
» What are the reasons a logical file may be "dropped" during the File definition load process?
» What? A high speed table is not a "thing" in itself. A high speed table is a normal LANSA file definition that has its "high speed" flag set to YES. • A LANSA file definition flagged as high speed table is actually implemented as a normal database file.
» Where did the changes to the file definition go?
» What actions can be performed using "Extended definition of Virtual field ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum