Optional Completion Code |
The optional completion code value,retcode, can be specified as a conditional or an arithmetic expression, evaluated to a single integer. The LOGOFF command processes whenever the highest return code reached was no more than 04 (warning). Any return code other than 00 or 04 terminates the FastExport job.
If a serious error terminates the program before the LOGOFF command is processed, the return code output is the value generated by the error condition rather than the retcode value specified as a LOGOFF command option.
|
Terminating Return Codes |
When a FastExport job terminates, and an optional retcode value is not specified, the utility returns a code indicating the way the job completed:
For a complete description of Teradata Database error messages, refer to Messages (B035-1096).
|
When Permitted |
The LOGOFF command is permitted at any point in the input script. It logs off immediately. |
Automatic Logoff |
FastExport performs an automatic logoff function if:
- All of the export data from Teradata Database has been processed without encountering a LOGOFF command
- The program fails because of an error
|