Search…
terminate
The terminate statement will exit the transcript task immediately.

Syntax

terminate

Details

Normally a transformation script will finish execution when an error is encountered or when the end of the script file is reached, whichever comes first.
When the terminate statement is encountered, the script will finish at that point. No statements after the terminate statement will be executed.

Example

1
var file = "system/extracted/mydata.csv"
2
3
if (@FILE_EXISTS(${file})) {
4
import ${file} source my alias data
5
} else {
6
terminate
7
}
Copied!
Last modified 2yr ago
Export as PDF
Copy link