:BEGIN_EXT_INTERPRETERS... :END_EXT_INTERPRETERS

Script Statements: They are used to mark the beginning and end of the external interpreter's scriptEgalement un type d'objet distinct dans l'Automation Engine. in the Process Tab of Windows and UNIX JobTraitement sur un système cible. Egalement un type d'objet distinct dans l'Automation Engine. objects and are dependent on the system variables UC_EXT_INTERPRETERS_WIN and UC_EXT_INTERPRETERS_UNIX respectively.

Syntax

:BEGIN_EXT_INT[ERPRETERS]
External Interpreter Script
:END_EXT_INT[EPRETERS]

Value

Description/Format

External Interpreter Script

Contains the script to be used for the external interpreter. The script format is entirely dependent on the external interpreter called.

Comments

To be able to use the relevant script of an external interpreter in a Job object, you have to define the external interpreters using the system variables UC_EXT_INTERPRETERS_WINDOWS and UC_EXT_INTERPRETERS_UNIX respectively.

You can use more than one external interpreter with this script statement. In that case, use them sequentially. Several external interpreter scripts (of the same or a different external interpreter type) may not cascade or overlap.

Scripts used in the Process Tab of a Job object (JOBS) will be overridden by the respective script entries in the parentUn objet peut être activé de différentes façons. L'initiateur de l'activation s'appelle Tâche de niveau supérieur (parent). (voir aussi Enfant, Enfants) WorkflowLes workflows sont utilisés pour effectuer des déploiements physiques. Un workflow décrit toutes les étapes nécessaires au déploiement de votre application. Votre application étant composée de différents éléments, le niveau le plus élevé du workflow (workflow d'application) représente l'architecture de votre application, et les workflows de composants sont utilisés pour déployer chacun des composants. Vous pouvez définir votre workflow de composants rapidement grâce à des actions prédéfinies. object, in case the Job object is part of a workflow"Permet d'ajouter, regrouper, associer, caractériser ou supprimer les tâches d'un workflow. Egalement un type d'objet propre à Automation Engine. [Anciennement appelé ""chaîne de traitement"" et ""chaîne de job"".]".

Should you want to store return values or data in user defined variables, use the script statement :REGISTER_VARIABLE.

Examples

The following example shows a Perl script, which will not only print all file names, number of all files and number of all text files, but also store these values in the variables defined with :REGISTER_VARIABLE.

! Transfer resource file (perl library) from DB to 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"".]"
:ATTACH_RES "STORE_LIB", "FUNC1", C


! Prepare resource file path string
:SET &cachepath# = STR_SUB("&$AGENT_RESOURCES_CLIENT#", "\", "\\")
:SET &funcfile# = STR_CAT(&cachepath#,"func.pl")


:BEGIN_EXT_INTERPRETERS perl


# include transferred file
require "&funcfile#";


# Call function "myadd" of library file and print out result
my $val1 = 10;
my $val2 = myadd($val1);
print "calculated via lib function = $val2";


:END_EXT_INTERPRETERS perl

See also: