OSF DCE Application Development Guide--Introduction and Style Guide
A Sample Application
A.4 Message (sams) File
The sample application’s sams file, which contains definitions for various messages
output by the serviceability interface routines, is as follows:
##############################################################################
# [28.VI.94] #
# #
# smp.sams -- sams input file for generic sample program. #
# #
# #
# #
# #
# -77 cols- #
##############################################################################
# Part I
component smp
table smp__table
technology dce
##############################################################################
# Part II
serviceability table smp_svc_table handle smp_svc_handle
start
sub-component smp_s_server "server" smp_i_svc_server
sub-component smp_s_manager "manager" smp_i_svc_manager
sub-component smp_s_binder "binder" smp_i_svc_binder
end
##############################################################################
# Part III
# Note that defining the "sub-component" and "attributes" fields
# will result in a convenience macro’s being generated for the
# message in question...
start
code sign_on
sub-component smp_s_server
attributes "svc_c_sev_notice"
text "Starting up"
explanation ""
action "None required."
end
124246 Tandem Computers Incorporated A− 97










