GENERATE
Generates application code from a template.
Syntax
GENERATE zimprog [ (parm)|string ]
Parameters
zimprog
|
The name of an application document that contains an application program template.
|
parm
|
An expression whose value is to be passed to zimprog. Multiple parameters must be separated from one another by commas.
|
string
|
A string that is passed to zimprog if zimprog is a macro program.
|
Comments
The commands in zimprog are executed interactively. When an opening program template delimiter (<<) is encountered, execution is suspended, and the subsequent lines are written (after macro substitutions) to the current output. This process ends when a closing program template delimiter (>>) is encountered alone on a line.