The Load Options dialog enables you to specify the type of file that you are loading and the location and name of the file.
The File Selection and the Load Order sheets enable you to select the schema, file, schemas, or files to be loaded, and when loading multiple files, the order in which the files are loaded. For details, see the following subsections.
If you are unsure of a file name or location, click the Browse button. The common File dialog that is then displayed lists all schema, class, method, forms definition files, and so on, in the directory for which the dialog is opened, to enable you to select the appropriate file.
If you want to clear the schema load restart information before loading the schema, check the Clear Restart check box. When loading a large schema file, schema changes and recovery information are written at regular intervals to the JADE database.
If the schema load fails, a subsequent load of the schema automatically restarts the loading of the schema file from the last recovery point. If problems occur when restarting the schema load (for example, the original schema file may no longer be available), the schema may be left in an inconsistent state. You should delete the schema whose load failed and reload it using a schema file containing a complete definition of the schema.
You can use the Clear Restart check box to clear the restart information so that the new complete definition schema file is loaded over the top of the file that terminated before completion. By default, restart information is not cleared before the schema is loaded; that is, this check box is unchecked.
When you have specified your load options, click the OK button to confirm your selections. (Alternatively, click the Cancel button to abandon your selections.)
The load process is then initiated. If the schema file contains methods that are in error when loading a single schema, the file is loaded without interruption.
On completion of the file load, a message box:
Displays the number of methods that are in error, and enables you to view those methods. If the file contains methods that are in error when loading multiple schemas from a multiple schemas extract file, the file is loaded without interruption.
Informs you that the multiple load completed and lists the schemas that have methods in error, if applicable. You are advised to use the Method Status List window for each schema to display and correct these errors.
Any errors outside method implementation (for example, an invalid class or property definition) result in a halt of the schema load process. The editor window then displays the extract file with the error highlighted. The error description is displayed in the status line. Amend the error, and then click the OK button to restart the load process. Alternatively, you click the Cancel button to abort the load.
A compile error is raised during the load process if the file contains more than one
To cancel the load process
Click the Cancel button in the Add Schema dialog.