Make a Local Copy of a File or Function - Aster Execution Engine

Teradata Aster® Developer Guide

Product
Aster Execution Engine
Release Number
7.00.02
Published
July 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
xnl1494366523182.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
ffu1489104705746
lifecycle
previous
Product Category
Software

The \download command in ACT (or DOWNLOAD FILE command in ODBC) makes a copy of the specified, installed file or function (identified by its installed_filename, optionally qualified with schemaname) and saves it on the file system where the ACT client is running.

Syntax

In ACT:

\download [schemaname/]installed_filename [file_pathname]

In ODBC:

DOWNLOAD FILE [schemaname/]installed_filename [file_pathname]

Optionally, you can specify a file/path name for the saved file by supplying the file_pathname argument. This argument can be just a file name or a path name, but the destination directory must exist on the file system where you are running ACT.

The \install and \remove commands can be used transactionally in a BEGIN / COMMIT block just like any transactional SQL command.