Previous Topic

Next Topic

Book Contents

Book Index

The include operator

The include operator allows text from another job entry to be copied over and included. If this operator appears inside a command section then the commands from the specified job is included and similarly for the notify and notes sections. Included text can itself contain other include directives.

Some common formats are:

((include job_name))

((include job_name *))

((include job_name arg1 arg2 ... ))

((include job_name arg1 arg2 ... *))

The "*" asterisk suppress the following cr/lf. To clarify how arguments are used consider the following example:

The include is specified as follows:

((include \central\abc "BLUE" "GREEN" *))

The \central\abc job contains the following text:

This is the included text %%1%%

the second argument will appear here %%2%%

The result of the pre-processing will be:

This is the included text BLUE

the second argument will appear here GREEN

See Also

Using pre-processing directives

The replacement operator

Available symbols

The set operator

An example