Statement | Effect |
---|---|
% SET FATAL | Sets MFG return code to 16 and terminates execution.. |
% SET ERROR | Sets MFG return code to 8. |
% SET WARNING | Sets MFG return code to 4. |
% SET INFO | No effect on return code. |
% SET ERROR message text % SET FATAL message text % SET INFO message text % SET WARNING message text
% Set Error message text % set error message text % Set Fatal message text % set fatal message text % Set Info message text % set info message text % Set Warning message text % set warning message text
Send an informational message to the final message report.
Input:
&A = "ABC" % SET INFO INVALID DOMAIN TYPE FOR &A = <&A>
Output:
INFO: INVALID DOMAIN TYPE FOR &A = ABC
Send a fatal message and then terminate the MFG.
Input:
&FCN = "PRINT" % SET FATAL INVALID FUNCTION <&FCN> SPECIFIED
Output:
FATAL: INVALID FUNCTION PRINT SPECIFIED
Comments:
Variables appearing in the message text are handled in a fashion different from how they are handled in all other types of statements. No substitution is performed on variable in these statements except when the variables are enclosed in evaluation brackets.