REPEATSTOP Command | Basic Teradata Query - REPEATSTOP (RPS) - Basic Teradata Query

Basic Teradata® Query Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Basic Teradata Query
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2025-04-02
dita:mapPath
gxl1691484661681.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
psp1479308573013
Product Category
Teradata Tools and Utilities

Purpose

This control enables users to specify whether a REPEAT operation should terminate if an error occurs for a request that indicates the request cannot be re-tried.

If the REPEATSTOP command has not been used, its value is OFF by default. If the command is specified, but neither ON or OFF is set, BTEQ sets REPEATSTOP to ON.

Syntax



Shorthand Syntax (Interactive Mode Only)
Command Shorthand
REPEATSTOP RPS

where the following is true:

OFF
If an error occurs for a request that indicates the request cannot be re-tried, the database rolls back the current transaction and BTEQ continues importing by submitting the next request.
ON
BTEQ terminates the REPEAT operation if an error occurs for a request that indicates the request cannot be re-tried.

The DEFAULTS command resets REPEATSTOP setting to OFF.

The REPEATSTOP command is valid in an SQL macro.

Example – REPEATSTOP

.SET REPEATSTOP ON;