Where to Create and Use Commands

You use commands when writing procedure and test code in the Program, System, and Driver modules. How a module accesses commands depends on where you created the command and whether you selected the Public property of the command. A module can access its own commands and the public commands defined in the modules below or next to it, as shown in the following illustration:

Specifically, each module accesses commands as follows:

For information on making a command public, see Setting Command Properties.