Where To Use the MessageLanguage Method |
In constraints, you can call the MessageLanguage method from an INVOKE statement.
Within Batch, you can invoke the MessageLanguage method within a SQL task or within an import task. If the message type is set to ERROR, the batch job stops, otherwise the message is displayed or added to the log file, and the batch job continues. In decisions, you can invoke the MessageLanguage method within the SqlScript() method in the Yes and No actions. In this case, a message is displayed, and the decision continues (even with the ERROR message type). |