Procs are stored sets of TCL or AQL commands. Each account has its own environment and can have its own custom set of procs.
Proc is a programming language, and includes the capability to execute TCL or AQL commands, much like UNIX's shell language or Job Control Language (JCL).
Master Dictionary# | Attribute | Description |
---|---|---|
0 | item-ID | Name of the proc. |
1 | dictionary-code | For a command-defining item, this must be pq. |
2-n | proc-statement-1 to proc-statement-n |
TCL passes control to the PROC processor and it executes the Proc statements. |
The Proc can contain as many statement attributes as desired.
For a more detailed description of the Proc language, see Proc.