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 />

SYSTEM<br />

SYSTEM<br />

Purpose<br />

The SYSTEM command allows access to the local operating system during <strong>Teradata</strong> T<strong>Pump</strong><br />

operations.<br />

Syntax<br />

.SYSTEM 'oscommand'<br />

;<br />

3021A034<br />

where<br />

Syntax Element<br />

‘oscommand'<br />

Description<br />

Command string (enclosed within single quotes) that is appropriate to the local<br />

operating system<br />

The SYSTEM command suspends the current <strong>Teradata</strong> T<strong>Pump</strong> application in<br />

order to execute the command. When the command completes, the return code<br />

from the invoked command is displayed, and the &SYSRC variable is updated<br />

with the return code.<br />

Usage Notes<br />

On z/OS clients, the command is passed to the PGM executor. The first token of the command<br />

string is interpreted as a load module and the remainder as a PARM string. As an example, the<br />

following statement calls the load module IEBUPDTE, passing the PARM string “NEW”.<br />

.SYSTEM “IEBUPDTE NEW”;<br />

This command calls IEBUPDTE in the same way it is called via the JCL statement:<br />

//EXEC PGM=IEBUPDTE,PARM='NEW'<br />

On z/OS, the program must be present in the STEPLIB or JOBLIB concatenation, be resident<br />

in one of the LPAs, or be located in the linklist concatenation.<br />

Otherwise, the invocation will fail, with code SYS_ABTM (-14) returned, resulting from an<br />

underlying abend S806-04. Other types of failures also are possible.<br />

On UNIX clients, the SYSTEM command invokes the standard UNIX interface to issue the<br />

command to the shell (sh), and waits for its completion.<br />

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

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

Saved successfully!

Ooh no, something went wrong!