Additional Optional and Required attributes:
Attribute
|
Optional/Required
|
Description.
|
AccountId
= 'acctid'
|
O
|
Optional
attribute that specifies the account associated with the specified user name.
|
BufferSize
= kbytes
|
O
|
Optional
attribute that specifies the output buffer size, in kilobytes, that is used
for sending Load parcels to the Teradata Database.
The output buffer size and the size of the rows in
the Load table determine the maximum number of rows that can be included in
each parcels to the Teradata Database.
A
larger buffer size reduces processing overhead by including more
data
in each parcels.
Allowable
values are 1 through 64, but if you specify a value of 64, the actual buffer
size gets set to 64260, which is less than the full 64K. If the value less
than 1, an error message results and job terminates.
The default buffer size is also the maximum size
allowed
The maximum allowed buffer size is usually 64K
bytes.
|
DataEncryption
= ‘option’
|
O
|
Optional
attribute that enables full security encryption of SQL requests,
responses,
and data.
Valid
values are:
• ‘On’ = All SQL requests,
responses, and data are encrypted.
•
‘Off’ = No encryption occurs (default).
|
DateForm
= 'datatype'
|
O
|
Optional
attribute that specifies the DATE data type for the Load operator job.
Valid
values are:
•
'IntegerDate' = the integer DATE data type (default)
•
'AnsiDate' = the ANSI fixed-length CHAR(10) DATE data type
|
ErrorLimit
= errorlimit
|
O
|
Optional attribute that specifies the maximum number of
records that can be stored in one of the error tables before the Load
operator job is terminated.
The ErrorLimit specification must be greater than 0.
Specifying an invalid value will cause the Load operator
to terminate.
By default, ErrorLimit value is unlimited.
The ErrorLimit specification applies to each instance of
the Load operator.
|
ErrorTable1
= 'etname1'
|
O
|
Optional
attribute that specifies the name of the first error table.
ErrorTable1
is for containing records that were rejected because of:
• Data conversion errors
• Constraint violations
• AMP configuration changes
These types of errors always occur during the acquisition
phase of the Load operator job.
This
must be a new table name. Do not use a name that duplicates the name of an
existing table unless you are restarting a paused Load operator job.
The
default name for ErrorTable1 is ttname_ET.
|
ErrorTable2
= 'etname2'
|
O
|
Optional
attribute that specifies the name of the second error table.
ErrorTable2 is for containing records that
violated the unique primary index constraint.
This type of error always occurs during the application phase of the
Load
operator job.
This
must be a new table name. You cannot use a name that duplicates an existing
table unless you are restarting a paused Load operator job.
The
default name for ErrorTable2 is ttname_UV.
|
DropErrorTable
= ‘value’
|
O
|
Optional
attribute that specifies whether or not error tables are dropped upon
successful completion of the load job, even if the error tables are
empty.
Valid
values are:
• ‘Yes’ = The Load operator will drop the error table
only if empty (default).
Teradata PT automatically executes a DROP TABLE statement.
• ‘No’ = The Load
operator will not drop the error table, even if empty. The User must manually execute a DROP TABLE statement
on the error table.
If
the table is not dropped prior to running a Teradata PT job that would use
tables by the same name, running that job may result in a DBS error or in
unpredictable results.
|
DropLogTable
= ‘value’
|
O
|
Optional
attribute that specifies whether or not restart log table is dropped upon
successful complete of the load job.
Valid values are:
• ‘Yes’ = The Load
operator will drop the restart log table (default). Teradata PT automatically executes a DROP TABLE
statement.
• ‘No’ = The Load
operator will not drop the restart log table.
The user must manually execute a DROP TABLE statement on the restart log
table.
If
the table is not dropped prior to running a Teradata PT job that would use
the table by the same name, running that job may result in a DBS error or in
unpredictable results.
|
LogTable
= 'ltname'
|
R
|
Required
attribute that specifies the name of the restart log table that stores
checkpoint information for restarting a job.
When
a job successfully completes, the operator drops the restart log table.
If
the restart log table name is not fully qualified, it is created under the
user’s default (logon) database. Otherwise, you may specify a working
database using the WorkingDatabase attribute.
|
MaxSessions
= maxsessions
|
O
|
Optional
attribute that specifies the maximum number of sessions to log on.
|
MinSessions
= minsessions
|
O
|
Optional
attribute that specifies the minimum number of sessions required for the Load
operator job to continue.
|
PauseAcq
= 'option'
|
O
|
Optional
attribute that specifies whether to pause the Load operator job after the
acquisition phase or enter the application phase.
'Y[es]' means to pause after the completion of the
acquisition phase and skip the application phase.
Value of N[o] or absence of any value for the PauseAcq
attribute means that the Load operator job will execute both the
acquisition phase and the application phase without pausing.
This will distribute all of the rows that were sent to the Teradata Database during the acquisition phase to their final destination on the AMPs. |
QueryBandSessInfo
= ‘Query Band expression’
|
O
|
Same
as in case of Export Operator.
|
Ta r
ge t Ta b le = 'ttname'
|
R
|
Required
attribute that specifies the name of the Load target table to receive the
data from the client system.
|
TenacityHours
= hours
|
O
|
Optional
attribute that specifies the number of hours that the Load operator
continues
trying to log on when the maximum number of load/unload
operations
are already running on the Teradata Database.
|
TenacitySleep
= minutes
|
O
|
Optional
attribute that specifies the number of minutes that the Load operator pauses
before retrying to log on when the maximum number of load/export operations
are already running on the Teradata Database.
|
TraceLevel
= 'level'
|
O
|
Same
as in Export Operator.
|
WorkingDatabase
= 'dbname'
|
O
|
Optional
attribute that specifies a database other than the logon database as the
default database.
The
name of the database that is specified with this attribute is used in the
Teradata
SQL DATABASE statement that is sent by the operator immediately after
connecting the two SQL sessions.
|
WildcardInsert=
‘value’
|
O
|
Optional
attribute that builds an INSERT statement from the table definition.
Use
this attribute to load all of the columns in a table when the columns
contain
user-defined types (UDTs).
Valid
values are:
•
‘Y[es]’ = Builds an INSERT statement.
•
‘N[o]’ = No activity (default).
If
you set this attribute to Ye swhen a valid, fully supported INSERT statement
already exists, an error results.
A
valid tablenamematches the name of the table used in the TargetTable
attribute
and the semicolon is in the last non-whitespace character in the
supplied
DML statement as follows:
INS[ERT]
[INTO] <tablename> ;
|
No comments:
Post a Comment