Previous Topic: SERVERADDR Statement—Specify a Remote Server NameNext Topic: SERVERPORT Statement—Specify a Remote Server Port


SERVERNAME Statement—Specify a Server to Run the PeopleSoft Job

The SERVERNAME statement specifies the name of the target server that runs the PeopleSoft job.

Supported Job Type

This statement is optional for the PeopleSoft job type.

Syntax

This statement has the following format:

SERVERNAME server_name
server_name

Specifies the name of the target server that runs the PeopleSoft job. PeopleSoft stores the list of server names in the PS_SERVERDEFN table. This value corresponds to the Server Name field in PeopleSoft.

Limits: Up to 8 characters; cannot contain delimiters (such as spaces)

Example: PSNT

Notes:

Example: Specify a Server to Run a PeopleSoft Process

This example runs a process named AEMINITEST. The server named PSNT runs the job.

AGENT PSAGENT
PROCESSTYPE 'Application Engine'
OUTDESTTYPE WEB
PROCESSNAME AEMINITEST
OUTDESTFORMAT PTF
PSOPRID VP1
RUNCONTROLID test
SERVERNAME PSNT
DISTRFOLDER GENERAL