DCE Application Programming Guide

Sample Application Listings
HP NonStop DCE Application Programming Guide429551-003
A-16
The Error Macro File
The Error Macro File
The error macro file errmac.h is shown in Figure A-10 on page A-17.
start
code inf_s_dce_error
sub-component inf_s_server
attributes "svc_c_sev_fatal | svc_c_action_exit_bad"
text "%s\nDCE Error: %s."
explanation "A DCE error occurred."
action ""
end
start
code inf_s_dce_warning
sub-component inf_s_server
attributes "svc_c_sev_warning"
text "%s\nDCE Error: %s."
explanation "A DCE error occurred. Processing continues."
action ""
end
# Part IIIa
# Messages for serviceability table
#
start !intable undocumented
code inf_i_svc_server
text "Information Please Server"
end
Figure A-9. The sams File in a Release 1.1 Port (page 2 of 2)