DSM Template Services Manual
Installing Templates
DSM Template Services Manual—427187-004
6-2
Task 2: Produce the Template Object File
Task 2: Produce the Template Object File
The Template Compiler, TEMPL, uses the template source file and the application’s
DDL dictionary to produce a template object file. These commands produce template
object files for subsystems ABC and BCD, using the built DDL dictionary:
TEMPL/IN ABCTMPL, OUT $S/ ABCOBJ
TEMPL/IN BCDTMPL, OUT $S/ BCDOBJ
The example assumes that the DDL dictionary is in the default subvolume; that is, that
no DICT dict-subvolume statement is in ABCTMPL or BCDTMPL. ABCOBJ and
BCDOBJ are template object files for subsystems ABC and BCD.
Task 3: Find the Current Template Files
You must add the templates you just produced to those in the current system. Use
SCF to determine the current resident and nonresident template file names:
> SCF INFO SUBSYS $ZZKRN
To change attributes marked with an asterisk (*) in the INFO display, use the ALTER
command. Attributes without an asterisk can be changed only by SYSGENR, as
described in the
System Generation Manual for G-Series RVUs
.
Task 4: Build the New Nonresident Template File
To build a new nonresident template file, run the Template Installation Program
(TEMPLI) to merge the templates in the template object file with those of the current
nonresident template file.
To merge template object files, TEMPLI needs FILE (and other TEMPLI) commands in
a command file. If you omit IN and OUT files, you can enter TEMPLI commands to
TACL at your terminal. These commands add the templates in template object files
ABCOBJ and BCDOBJ to those in CURNRES (from the previous task):
TACL> TEMPLI NEWRES, NEWNRES == New Res, Nonres files
> FILE CURNRES == Current resident template file
> FILE ABCOBJ == Merge templates of subsystem ABC
NONSTOP KERNEL - Info SUBSYS \EAST.$ZZKRN
Current Settings
*DAYLIGHT_SAVING_TIME ................USA66
*NONRESIDENT_TEMPLATES................$SYSTEM.SYSTEM.TEMPLATE
*POWERFAIL_DELAY_TIME.................30
*RESIDENT_TEMPLATES...................$SYSTEM.SYSTEM.RTMPLATE
SUPER_SUPER_IS_UNDENIABLE............ OFF
*SYSTEM_NAME..........................\EAST
*SYSTEM_NUMBER........................254
SYSTEM_PROCESSOR_TYPE ............... NSR-W
*TIME_ZONE_OFFSET.....................-8:00