


RUN without argument starts the statement currently displayed in the input area.
Call:

Annotations:
During execution, LOAD is in EXECUTE mode in which no input is accepted.
If LOAD detects an error when checking a statement or command, the position in which the error occurred is indicated on the screen. LOAD produces an error message and returns to the INPUT mode. Otherwise, a start message appears.
At the beginning of a load run, a source or target file is opened. In the case of source files, an error is displayed if the file does not exist or is already open. In the case of target files, an error is displayed if a file has already been opened or does not exist and cannot be created. An existing file with the name of the target file is overwritten unless the option APPEND has been specified. APPEND determines that the data is to be written continuously to the end of the file.
If a great number of records is rejected within a transaction, the time in which tables may be locked without being accessed may be exceeded. As a result, the transaction is implicitly rolled back and the load run aborted. The number of the last inserted line of file is recorded in the protocol file.
At the end of the run, the source file or target file is implicitly closed.
If LOAD reacts to the RUN command with 'Re-connected after timeout, ...', the current session has been implicitly terminated because of prolonged inactivity, then reopened by the RUN command.
The RUN command can then be called again. However, the last transaction was rolled back and all result tables were closed at the implicit session end.


