terminate
Syntax
Details
Example
var file = "system/extracted/mydata.csv"
if (@FILE_EXISTS(${file})) {
import ${file} source my alias data
} else {
terminate
}Last updated
The terminate statement will exit the transcript task immediately.
terminate
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.
var file = "system/extracted/mydata.csv"
if (@FILE_EXISTS(${file})) {
import ${file} source my alias data
} else {
terminate
}Last updated