ML_ERROR2= Data Set Option

Specifies the name of a temporary table that non-TPT MultiLoad uses to track errors that were generated during the application phase of bulk loading.

Valid in: DATA and PROC steps (when creating and appending to DBMS tables using SAS/ACCESS software)
Category: Data Set Control
Default: none
Restrictions: Starting in SAS 9.4M9, this option is no longer used. In SAS 9.4M9, use the TPT_ERROR_TABLE_2= data set option.
Do not use ML_ERROR2 with ML_LOG=, which provides a common prefix for all temporary tables that the Teradata MultiLoad utility uses.
Requirements: To specify this option, you must first specify MULTILOAD=YES.
When you restart a failed MultiLoad job, you must specify the same application table from the earlier run so that the MultiLoad job can restart correctly. Using ML_RESTART=, ML_ERROR1=, and ML_WORK=, you must also specify the same log table, acquisition error table, and work table upon restarting.
Data source: Teradata
See: ML_ERROR1= data set option, ML_LOG= data set option, , ML_RESTART= data set option, ML_WORK= data set option, MULTILOAD= data set option, Teradata MultiLoad documentation, TPT_ERROR_TABLE_2= data set option, Using MultiLoad

Table of Contents

Syntax

ML_ERROR2=temporary-table-name

Syntax Description

temporary-table-name

specifies the name of a temporary table that non-TPT MultiLoad uses to track errors that were generated during the application phase of bulk loading.

Details

Note: Starting in SAS 9.4M9, SAS/ACCESS no longer supports non-TPT MultiLoad. Documentation remains for users who have not upgraded to SAS 9.4M9.

By default, the application error table is named SAS_ML_UT_randnum, where randnum is a random number.

Last updated: February 3, 2026