DMXSetTargetFile function - Connect_ETL - Latest

Connect ETL Shell Functions Reference

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect (ETL, Sort, AppMod, Big Data)
Version
Latest
ft:locale
en-US
Product name
Connect ETL
ft:title
Connect ETL Shell Functions Reference
Copyright
2025
First publish date
2003
ft:lastEdition
2025-05-21
ft:lastPublication
2025-05-21T18:32:36.824000

Short Description: To replace a target file name.

Syntax

DMXSetTargetFile ID fileName [fileNumber]

Parameters

ID The ID returned by DMXNew that identifies the invocation.
fileName A string with the name of the target file.
fileNumber An integer with the number of the target file whose name you want to change. The files are numbered sequentially from 1 in the order in which they appear in the task file identified by the applicationFileName parameter for DMXSetApplicationFileName. The parameter is optional and defaults to 1.

Notes

You can invoke this function at any time after loading the task via DMXSetApplicationFileName and before running the task via DMXRun.