Teradata Parallel Data Pump
Teradata Parallel Data Pump Reference - Teradata Developer ...
Teradata Parallel Data Pump Reference - Teradata Developer ...
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 3: <strong>Teradata</strong> T<strong>Pump</strong> Commands<br />
LOGON<br />
Syntax Element<br />
username<br />
password<br />
'acctid'<br />
Description<br />
User identifier of up to a 30-character maximum<br />
Optional password associated with the username, up to a 30-character<br />
maximum<br />
<strong>Teradata</strong> <strong>Data</strong>base must be configured to recognize the password specified.<br />
Optional account identifier associated with the username, up to a 30-character<br />
maximum<br />
The string specification must be enclosed in single quotes.<br />
If this field is not specified, a default “acctid” is used.<br />
Usage Notes<br />
Both the LOGON command and the LOGTABLE command are required to set up the<br />
<strong>Teradata</strong> T<strong>Pump</strong> support environment. Use them in any order, but they must precede any<br />
other commands. However, a RUN FILE command can be used to identify a file containing<br />
the LOGON command before the LOGON and LOGTABLE commands.<br />
LOGON and LOGTABLE commands typically occur as:<br />
.logtable logtable001;<br />
.logon tdpx/me,paswd;<br />
When the LOGON command is executed, the initial <strong>Teradata</strong> T<strong>Pump</strong> utility session is logged<br />
on. The logon information is saved and re-used when processing the BEGIN LOAD command<br />
to connect the appropriate number of sessions.<br />
The parameters (tdpid, username, password, and “acctid”) are optional and are used in all<br />
sessions established with <strong>Teradata</strong> <strong>Data</strong>base. The LOGON command may only occur once.<br />
The period (.) preceding LOGON is also optional.<br />
The tdpid identifier specifies a particular <strong>Teradata</strong> <strong>Data</strong>base. See the system or site<br />
administrator for the identifier planned to use. If a tdpid is not specified and the site<br />
administrator has not updated the System Parameter Block, the default identifier is <strong>Teradata</strong><br />
<strong>Data</strong>base. The long form of this parameter, tdpx, should be used to avoid CLI errors that can<br />
occur when the short form is used.<br />
The tdpid parameter is optional if the site has only one TDP, if a TDP command was<br />
previously executed, or if the default TDP was selected. This parameter is not case-sensitive.<br />
<strong>Teradata</strong> T<strong>Pump</strong> does not prompt for a username or password. If either or both of these are<br />
required, <strong>Teradata</strong> T<strong>Pump</strong> fails and reports the error. Both of these parameters may be<br />
optional if a logon exit is used.<br />
Where possible, do not use special characters in the acctid parameter string. Although acctid<br />
may contain special characters, the special characters might be interpreted differently by<br />
different output devices. Therefore, a script containing special characters might have to be<br />
modified if the output is routed to another device. If the acctid contains an apostrophe (single<br />
quote) character, use either the second form of the LOGON command, which is delimited by<br />
quotes, or double the apostrophe character as follows:<br />
168 <strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference