25.09.2015 Views

Teradata Parallel Data Pump

Teradata Parallel Data Pump Reference - Teradata Developer ...

Teradata Parallel Data Pump Reference - Teradata Developer ...

SHOW MORE
SHOW LESS
  • 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 />

RUN FILE<br />

Syntax Element<br />

charpos1 and charpos2<br />

Description<br />

Start and end character positions of a field in each input record which<br />

contains extraneous information<br />

<strong>Teradata</strong> T<strong>Pump</strong> ignores the specified field(s) as follows:<br />

• charpos1: only the single specified character position is ignored.<br />

• charpos1 THRU: character positions from charpos1 through the end of<br />

the record are ignored.<br />

• THRU charpos2: character positions from the beginning of the record<br />

through charpos2 are ignored.<br />

• charpos1 THRU charpos2: character positions from charpos1 through<br />

charpos2 are ignored.<br />

Usage Notes<br />

Once <strong>Teradata</strong> T<strong>Pump</strong> executes the RUN FILE command, further commands and DML<br />

statements are read from the specified source until a LOGOFF command or end-of-file<br />

condition is encountered, whichever occurs first. An end-of-file condition automatically<br />

causes <strong>Teradata</strong> T<strong>Pump</strong> to resume reading its commands and DML statements from the<br />

previously active source (or the previous RUN source when RUNs are nested), either SYSIN<br />

for z/OS, or stdin (normal or redirected) in UNIX. After SYSIN/stdin processes any userprovided<br />

invocation parameter, it remains the active input source.<br />

If an end-of-file condition occurs on fileid, SYSIN/stdin is read because there are no more<br />

commands or statements in the PARM string.<br />

The command source specified by a RUN FILE command may contain nested RUN FILE<br />

commands to 16 levels.<br />

On UNIX systems, an asterisk (*) can be used as the fileid specification for the system console/<br />

standard input (stdin) device. The system console is the:<br />

• Keyboard in interactive mode<br />

or<br />

• Standard input device in batch mode<br />

Example<br />

.RUN FILE LOGON;<br />

182 <strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!