How to control the server where PeopleSoft tasks will run?

Document ID : KB000011857
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How to specify a target server that runs a PeopleSoft task launched by a PS job?

Environment:
Scheduler: WAAE, CA7 or WAEEAgent: CA Workload Automation Agent 11.3 and CA WA Agent for PeopleSoft
Answer:

For a WAAE job, use the ps_server_name job attribute. 

In the following sample WAAE PS job, the server named PSPR runs the Peoplesoft task:

insert_job: ps_txtfile

job_type: ps

machine: psagt

ps_process_name: DDDAUDIT

ps_process_type: SQR Report

ps_server_name: PSPR

ps_time_zone: CST

 

For a CA7 job, use the SERVERNAME job attribute.  

In the folloiwng example job, the server named PSUNX runs the PeopleSoft process:

JOB=PSSYSAUDIT MEMBER=FAG000R0 JCLID=200 LIST=MERGE

PROCESSNAME SYSAUDIT 

AGENT WA_AGENT

SERVERNAME PSUNIX 

RUNCONTROLID SYSAUDIT 

OUTDESTFORMAT PDF 

OUTDESTTYPE Web

 

For an ESP job, use the SERVERNAME statement.  In the following example, the server named PSNT runs the PeopleSoft task.

PS DSFOLDER.TEST

   AGENT PSAGENT

   PROCESSTYPE 'Application Engine'

   OUTDESTTYPE WEB

   PROCESSNAME AEMINITEST

   OUTDESTFORMAT PTF

   PSOPRID VP1

   RUNCONTROLID test

   SERVERNAME PSNT

   DISTRFOLDER GENERAL

   RUN DAILY

ENDJOB

Additional Information:

Please note the following:

1. Your agent administrator can specify a default run server name for all PeopleSoft jobs by setting the ps.default.serverName parameter in the agent's agentparm.txt file.

2. The ps_server_name (WAAE) or SERVERNAME (CA7) attribute overrides the default run server name specified in the agent's agentparm.txt.

3. If the server name is not defined on the agent or using the ps_server_name or SERVERNAME attribute, the PeopleSoft Scheduler determines the server that will run the job.