Previous Topic: Command Prompting, Confirmation, and Validation

Next Topic: How You Code Your NCL Procedure

How You Define Your Own Commands

You can define your own commands to perform specialized processing. The process has the following stages:

  1. Write an NCL procedure that performs the processing that you want your command to perform.
  2. Register the command to Automation Services.
  3. Manually distribute the procedure to linked regions or place it in a shared library, accessible to all systems.

You can register different versions of a command with the same name. Automation Services executes the version that best fits the resource or service the command is applied to.

For example, you can register two versions of a command with the name Z, where version one applies to all resources, and version two applies to started tasks only. When the Z command is applied to a started task, Automation Services executes version two of the command.