%{-----------------------------------------------------------------%}
%{ ErrorMsg_Table.ndm -- display error message table, showing %}
%{ current values of Net.Data macro variables %}
%{ %}
%{ Usage: %}
%{ %}
%{ %include ErrorMsg_Table.ndm %}
%{ %message { %}
%{ -default: { @ErrorMsg() % } : Exit %}
%{ %}
%{-----------------------------------------------------------------%}
%{-----------------------------------------------------------------%}
%{ Make an error message table row %}
%{-----------------------------------------------------------------%}
%macro_function MakeErrorMsgTR (rowCaption,
rowLabel,
rowValue) {
| $(rowCaption) |
$(rowLabel) |
$(rowValue) |
%}
%{-----------------------------------------------------------------%}
%{ Output an HTML message page %}
%{-----------------------------------------------------------------%}
%macro_function ErrorMsg () {
|
Error when processing Net.Data macro $(DTW_MACRO_FILENAME)
|
| Description |
Net.Data Variable |
Value |
@MakeErrorMsgTR("Return Code",
"RETURN_CODE",
$(RETURN_CODE))
@MakeErrorMsgTR("SQL State",
"SQL_STATE",
$(SQL_STATE))
@MakeErrorMsgTR("Default message",
"DTW_DEFAULT_MESSAGE",
$(DTW_DEFAULT_MESSAGE))
@MakeErrorMsgTR("Current filename",
"DTW_CURRENT_FILENAME",
$(DTW_CURRENT_FILENAME))
@MakeErrorMsgTR("Current last modified",
"DTW_CURRENT_LAST_MODIFIED",
$(DTW_CURRENT_LAST_MODIFIED))
@MakeErrorMsgTR("Macro filename",
"DTW_MACRO_FILENAME",
$(DTW_MACRO_FILENAME))
@MakeErrorMsgTR("Macro last modified",
"DTW_MACRO_LAST_MODIFIED",
$(DTW_MACRO_LAST_MODIFIED))
@MakeErrorMsgTR("Macro processor path",
"DTW_MP_PATH",
$(DTW_MP_PATH))
@MakeErrorMsgTR("Macro processor version",
"DTW_MP_VERSION",
$(DTW_MP_VERSION))
%}