Example – LOGOFF - MultiLoad

Teradata MultiLoad Reference

Product
MultiLoad
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-07-11
dita:mapPath
cgb1488824663145.ditamap
dita:ditavalPath
Audience_PDF_product_tpt_userguide_include.ditaval
dita:id
B035-2409
lifecycle
previous
Product Category
Teradata Tools and Utilities

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.