EXECUTE
Invokes a program external to the Statement system. This statement invokes a program that is external to Statemate. The Documentor searches for the program name using the regular system search path, invokes the program, and sends its standard output to the document’s output segment file.
A string expression (or string literal) that specifies the name and parameters of an external program.Thecalling_sequence
is written in the same manner as when invoking the program from the shell command line. Therefore, the calling sequence can include arguments to be passed to the program. However, no evaluation of these arguments is done in the template—the calling sequence is passed as a pure string.This following statement calls the operating system functionDATE
and writes the date to the output file:
●
●
●
●
●