DSM Template Services Manual
Template Compiler
DSM Template Services Manual—427187-004
4-4
TEMPL Compiler Commands
TEMPL Compiler Commands
You can use three compiler commands as run options or within a template source file
to modify how you use the TEMPL compiler.
COLUMNS Command
The COLUMNS command specifies the maximum number of columns (width) that the
compiler can read from a command line or from the template source file.
num-chars
is the maximum width of the input line, in characters, in the range 12 through 132.
The default value is 132.
Considerations
•
The COLUMNS 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.
•
The compiler ignores any text beyond the specified column width.
•
The specified column width is in effect until the compiler encounters another
COLUMNs command.
•
If an erroneous value is specified, a warning is produced, and the COLUMNS
command is ignored.
•
The COLUMNS command can appear more than once in a single source file.
•
The COLUMNS command in effect at the time that a SOURCE file is entered
remains in effect within the scope of the source file until a new COLUMNS
command is encountered.
•
Follow each SOURCE command with a COLUMNS command reinstating the
desired column width. This avoids truncation of your source lines if the target
source file contains its own COLUMNS command with a smaller value.
?COLUMNS num-chars