Assume that:
- Each Teradata MultiLoad job requires successful execution of a Teradata SQL statement, such as a CREATE TABLE statement.
- The statement fails with an unacceptable completion code.
If BADRC is set to &SYSRC after the failed Teradata SQL statement, you can use the following command to terminate the Teradata MultiLoad utility and return the unacceptable code to the client system:
.LOGOFF &BADRC;
Executing this command also drops the restart log table. If execution is terminated before the LOGOFF command is encountered, the restart log table is not dropped, so as to support a restart at a later time.