The following table describes the things to consider when using the SLEEP command.
|Function||The SLEEP specification works with the TENACITY specification to control Teradata FastLoad logon attempts.
When Teradata FastLoad tries to log on for a new session, and the database indicates that the maximum number of load sessions is already running, the Teradata FastLoad utility:
Teradata FastLoad repeats this process until it has either logged on for the required number of sessions or equates the amount of time specified by the TENACITY command.
The sleep interval specified in the SLEEP command is dynamically adjusted so that the total sleep times does not exceed the amount of time specified by the TENACITY command.
For example, if the time specified with the SLEEP command is 35 minutes and the time specified with the TENACITY command is 1 hour, then:
|Command Placement||Command placement affects the logon operation. State the SLEEP and TENACITY commands before the LOGON command in the Teradata FastLoad job script. Teradata FastLoad terminates with an error message if these commands are stated after the LOGON command.|
|Command Overrides||The SLEEP and TENACITY command specifications override the corresponding SLEEP and TENACITY specifications that may be made in the Teradata FastLoad configuration file.
Similarly, the SLEEP and TENACITY command specifications themselves are overridden by the corresponding specifications made as runtime parameters when invoking Teradata FastLoad.
The order of preferences for the SLEEP and TENACITY specifications, from highest to lowest, is: