stop
Function: stop()
Will cause the analysis for the recordset to stop, producing a warning message in the log trace.
Syntax
stop(message)
Argument | Type | Description |
---|---|---|
message | String | Message to be output to the log trace. Can be an attribute expression so long as it evaluates to a string. |
Examples
ifNull(in.rate,stop("Missing rate value"))
In the above example, if the rate value is not found then there is no point continuing so a warning message is added to the log file and analysis for this recordset stops. No records are written to the database for this recordset.