DSM Template Services Manual

Template Compiler
DSM Template Services Manual427187-004
4-6
SOURCE Command
SOURCE Command
The SOURCE command causes the compiler to include language text from the
specified file.
file-name
is the file name of a file with additional template-language statements.
Considerations
The SOURCE command can appear in the compiler command line or anywhere
within the template source file.
The question mark (?) must be in the first column of the template source file.
This command results in the compiler opening the specified file for input.
Nested SOURCE commands are supported to a maximum depth of 4 (nested
SOURCE files).
If the target file is not found, or nesting is too deep, the compiler prints an error
message and does not produce an object file.
The SOURCE command can occur more than once in a single source file.
?SOURCE file-name