DSM Template Services Manual
Template Compiler
DSM Template Services Manual—427187-004
4-3
Object File
The OUT file can be a terminal, process, printer, disk file, or DEFINE logical name. If
you omit the OUT file, TACL supplies its own OUT file as the default.
If you specify an OUT file that exists, the compiler appends the listing to it. Otherwise,
the compiler creates an EDIT file for the listing. The compiler formats the OUT file
assuming 79-character records, regardless of the actual output device, except that
echoed input lines can exceed 79 characters in length.
At the end of the listing, the Template Compiler includes a summary of what the
compilation produced:
End of compilation
Object file: file-name
Format templates: n1
Override templates: n2
Special templates: n3
Errors: n4
Warnings: n5
The lines for Format-template, override-template, and special-template give the
number of templates produced by the compilation. Special templates hold information
derived from the SSNAME and VERSION statements. Error and warning lines give the
number of error and warning messages that the compilation produced.
If the compilation was a success, the object-file line gives the Guardian file name of the
file with the compiled templates. Otherwise, the line shows: “No object file produced.”
Object File
The object file is a key-sequenced file (file code 844) that contains the templates for
one application. It is produced only if the compiler found no errors. If a file with the
given file name and correct type already exists, the compiler purges it and creates
another file of the same file name.
In some cases, the object file is not named as requested because the compiler could
not purge or rename the old file with the same name. In such cases, the compiler
names the object file ZZTPnnnn (in which nnnn is a four-digit number) and places it in
the same volume or subvolume as the old file.