DSM Template Services Manual

Introduction
DSM Template Services Manual427187-004
1-7
Templates and Template Files
To create templates, use the Template Language and DDL. For a description of the
Template Language, see Section 3, Template Language. For a description of DDL, see
the
Data Definition Language Reference Manual
and Appendix A, Template-Related
DDL Clauses, which briefly describes DDL clauses that can influence the display of a
message.
Template Source and Object Files
A template source file contains Template Language statements that provide the basis
for format, override, and some special templates.
A template object file has the combined information of an applications template source
file and DDL dictionary. To produce a template object file, the template source file and
DDL dictionary are compiled using the Template Compiler (TEMPL). A template object
file contains the format, override, DDL-defined, and special templates for a subsystem
or management application.
HP provides template source and object files, in addition to the associated DDL
definition files, for all DSM-compliant NonStop OS subsystems and management
applications. You can customize HP template source files and DDL definition files for
your purposes. For a description of the naming conventions that HP uses for its files,
see Section 6, Installing Templates.
Table 1-2. Characteristics of Different Template Types
Template
Type
Created Using
Template
Language
Information
Created Using
DDL
Information Procedures That Use Template
Format Yes No* EMSTEXT**
Override Yes No* EMSTEXT, EMSGET,
EMSGETTKN,
SPI_BUFFER_FORMATNEXT_
DDL-defined No Yes EMSTEXT,
SPI_BUFFER_FORMATNEXT_
Special Yes Some Some used by EMSTEXT,
SPI_BUFFER_FORMATNEXT_
* Token information specified with the Template Language is verified against DDL information.
** One format template, created with the Template Language FORMAT statement, is used by
SPI_BUFFER_FORMATNEXT_. For more information, see Custom-Formatting Procedures
on page 2-19.
Note. ViewPoint, EMS printing distributors, and EMS compatibility distributors use the EMSTEXT procedure to
construct operator messages. Thus, templates can influence the output of these applications.
Note. Before you modify an HP template source file, copy the original template source and
object files and modify the copies only, so you can retrieve the originals if needed. Do the same
for HP DDL definition files if you modify any of them. For more information, see Installing
Modified HP Templates on page 6-4.