UC_EXT_INTERPRETERS_* - Register External Interpreters

The UC_EXT_INTERPRETERS_WINDOWS and UC_EXT_INTERPRETERS_UNIX system variable objects are used to define external interpreters for use with the respective agent"Programme permettant l'exécution de Traitements sur des systèmes cible comme un ordinateur ou des solutions d'entreprise. Egalement un type d'objet distinct dans l'Automation Engine. [Anciennement appelé ""Exécuteur de tâches"".]", they are available for Windows and UNIX agents respectively.

These rules apply to Windows and UNIX respectively.

Key Description
Key

Interpreter identifier, unique within the Automation EngineCe composant commande un système Automation Engine. Il se compose de plusieurs processus serveur. system. This key is used to specify an external interpreter section.

Value1 Desired file extension of the scriptEgalement un type d'objet distinct dans l'Automation Engine. file passed to the external interpreter
Value2

Variant 1 - single line: Use this Variant to call the external interpreter stating only parameters.

Variant 2 - multi-line: The static VariableEnregistre ou fournit les valeurs dynamiques de l'exécution. Egalement un type d'objet distinct dans Automation Engine. object may contain several lines and can be edited in two ways: In the Variable Tab you may edit the cell in the value column directly or use the cell editor of the static Variable object

The value column cells should only contain commands that are processed each time this interpreter is called. In all other cases you should place the commands in the job's script.

 

The UC_EXT_INTERPRETERS_WINDOWS and UC_EXT_INTERPRETERS_UNIX variable objects should be used in the system clientEnvironnement indépendant pour la création et l'exécution d'objets dans un système AE. Le nom d'un client est un nombre de quatre chiffres à saisir lors de la connexion d'un utilisateur au système AE. Les utilisateurs et leurs droits y sont aussi définis.Egalement un type d'objet distinct dans l'Automation Engine. 0000. Thus the external interpreters will be available to all users in all clients of the Automation Engine system.

The system variable object UC_SHELL_UNIX lists all registered shells of an operating system. It should not be used for registering external interpreters. UC_SHELL_UNIX is delivered together with the Automation Engine software and maintained by the system administrator in the system client 0000.

Description

In JobTraitement sur un système cible. Egalement un type d'objet distinct dans l'Automation Engine. (JOBS) objects for Windows and UNIX you may use an external interpreter script in the Process tab. To be able to use such scripts, the external interpreters have to be registered first by using these variables.
The Storage object is another object directly affected by this variable. As the files contained in the Storage object may be used in Windows and UNIX agents, you have to register the external interpreters using UC_EXT_INTERPRETERS_WINDOWS / UC_EXT_INTERPRETERS_UNIX.

Example:

Key Value 1 Value 2 Value 3 Value 4
PERL1

.pl

perl.exe <FILE> -k    
PERL2 .pl perl.exe <FILE>    
GROOVY .groovy groovy.exe <FILE>    

The term "<FILE>" will be replaced by the generated script file. This term is fixed and has to be upper case.

For PERL1 the following call would be the result of using the example values above:

perl myprog.pl -k

See also: