DSM Template Services Manual
DSM Template Services Manual—427187-004
6-1
6 Installing Templates
This section describes how to install templates in the operating system:
Installing Templates for a New Application
Suppose you write a new subsystem named ABC that calls the EMSTEXT procedure
to produce display text. Two of the files that you already made for subsystem ABC are
ABCDDL, the DDL definition file, and ABCTMPL, the template source file.
This subsection describes how to run an application that depends on the templates
defined by ABCTMPL.
Task 1: Build the DDL Dictionary
Before compiling a template source file, you must use the DDL compiler to build a
dictionary. The commands in Example 6-1 entered at your terminal build a DDL
dictionary that you can use to compile either subsystem ABC, another new subsystem
BCD, or both. Sometimes it is easier to build one large DDL dictionary than to build a
separate dictionary for each application. Either approach is acceptable.
Topic Page
Installing Templates for a New Application
6-1
Installing Modified HP Templates 6-4
Managing Templates on Network Nodes 6-5
Example 6-1. Building the DDL Dictionary
DDL /OUT $S/
?DICT !
! Basic definitions
?SOURCE $vol.ZSPIDEF.ZSPIDDL
! EMS definitions
?SOURCE $vol.ZSPIDEF.ZEMSDDL
! COM definitions
?SOURCE $vol.ZSPIDEF.ZCOMDDL
! New subsystem ABC
?SOURCE ABCDDL
! New subsystem BCD
?SOURCE BCDDDL
.
.
.
!EOF