The issue was the PS job ran on default PS Scheduler. How can we change that so the job gets submitted to a different server?
Job is submitted to PSAA, but we want it to run on PSUNX8.
The Peoplesoft (PS) server can be specified 2 ways. The job definition would override what is in Agentparm:
1. Set ps.default.servername in the Agentparm for the Agents running PS jobs:
Example: PSAA, PSAB2, PSUNX8 AND PSUN9.
Doc: https://docops.ca.com/ca-workload-automation-agent-for-peoplesoft/11-3/en/reference/plug-in-specific-parameters ps.default.serverName
Sets the default value for the name of the target server executing the PeopleSoft job. You can leave this parameter undefined. The PeopleSoft scheduler determines where to run the job. You can specify a server name in a job definition to override the default
2. Change all the job definitions to have ps_server_name, with the correct 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)
Note: If no server is defined in the Job, then the agent will use the default. If the job comes with a server name, then the agent will override the default and use the values from the job. This is true
for any parameter that is defined in the job and another value for same parameter exists in the agentparm.txt. The Job will override the agent side.
After adding ps_server_name to the job definition, it clearly shows on the Receiver log on the Message Accepted, Message Received as ServerName(ABCD) for example.