:ATTACH_RES

Use the :ATTACH_RES script statement with a Storage object to define the resources you want to attach and transfer to the UNIX or Windows agent. You can use this script statement on the Process page of Windows or UNIX Job objects (JOBS).

Notes:

Syntax

:ATTACH_RESObjectName, ResourceName, [Usage], [Variable]

Parameters

Examples

The following example transfers all the resource files that the specified Storage object contains:

:ATTACH_RES "STORAGE12", "*"

This example transfers all resources whose names start with the term "file":

:ATTACH_RES "STORAGE12", "file*"

The third example transfers all resources into a client-wide cache:

:ATTACH_RES "STORAGE12", "*", C

This example replaces a variable in all files that should be transferred:

:ATTACH_RES "STORAGE12", "*.ini", ,Y

The last example uses the &$AGENT_RESOURCES_CLIENT# system variable for :ATTACH_RES to attach a .jar-file that starts with Java:

:ATTACH_RES "PCK.AUTOMIC_SIEBEL.PRV.STORE", "SIEBELTOOL.JAR", C
JAVA -JAR
"&$AGENT_RESOURCES_CLIENT#SIEBELTOOL.JAR" SIEBEL IMPORTBUSINESSOBJECT

See also: