Previous Topic: REMOTE_COMMAND Statement—Specify Command to Execute RemotelyNext Topic: REMOTECLASSNAME Statement—Specify a Remote Class Name


REMOTE_TARGET Statement—Specify Remote Target for a Job

The REMOTE_TARGET statement specifies the remote target where the job must run.

Supported Job Type

This statement is required for the Remote Execution job type.

Syntax

REMOTE_TARGET target
target

Specifies the remote target where the job must run.

Limits: 128 characters and is case-sensitive. The first character must be alphabetic. The other characters can be alphanumeric or underscores (_).

Example: Specify a Remote Target for a Job

This example specifies the 'UNIXEndpoint' target for a remote execution job to run.

AGENT REMOTETEST
REMOTE_COMMAND ‘sleep 200’
REMOTE_TARGET UNIXEndpoint
EXITCODE 0-1 SUCCESS