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 />
ACCEPT<br />
Syntax Element<br />
fileid<br />
charpos1 and charpos2<br />
Description<br />
<strong>Data</strong> source of the external system.<br />
The external system DD (or similar) statement specifies a file.<br />
UNIX and Windows<br />
infilename (the path name for a file).<br />
If the path name has embedded white space characters, enclose the<br />
entire path name in single or double quotes.<br />
z/OS<br />
a true DDNAME.<br />
If DDNAME is specified, <strong>Teradata</strong> T<strong>Pump</strong> reads data records from<br />
the specified source.<br />
A DDNAME must obey the same rules for its construction as<br />
<strong>Teradata</strong> SQL column names, except that:<br />
• the “at” sign (@) is allowed as an alphabetic character<br />
• the underscore (_) is not allowed<br />
The DDNAME must also obey the applicable rules of the external<br />
system.<br />
If DDNAME represents a data source on magnetic tape, the tape<br />
may be either labelled or nonlabelled (if the operating system<br />
supports it).<br />
Start and end character positions of a field in each input record<br />
which contains extraneous information<br />
<strong>Teradata</strong> T<strong>Pump</strong> ignores the specified field(s) as follows:<br />
• If charpos1 is specified, <strong>Teradata</strong> T<strong>Pump</strong> ignores only the single<br />
specified character position.<br />
• If charpos1 THRU character positions are specified, <strong>Teradata</strong><br />
T<strong>Pump</strong> ignores character positions from charpos1 through the<br />
end of the record.<br />
• If THRU charpos2 is specified, <strong>Teradata</strong> T<strong>Pump</strong> ignores character<br />
positions from the beginning of the record through charpos2.<br />
• If charpos1 THRU charpos2 is specified, <strong>Teradata</strong> T<strong>Pump</strong> ignores<br />
character positions from charpos1 through charpos2.<br />
Usage Notes<br />
A single record, row, or input line is accepted from the designated source. Ensure that there is<br />
only one record in the file from which the ACCEPT command is getting the variables.<br />
If multiple variables are coded, each is sequentially assigned input text up to the first white<br />
space character encountered that is not within a quoted string.<br />
Input text for numeric values must be delimited only by white space or record boundaries.<br />
Input text for character strings must be enclosed in apostrophes. For example:<br />
.Accept age, name from file info;<br />
94 <strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference