ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
Auto sourcing issue with 2 clients
Article ID: 239119
CA Workload Automation AE
We have single agent installed on a server and 2 AutoSys clients (PRD & PR1). When we try running a job that executes AutoSys commands, they are running in the old PRD environment instead of PR1 environment. How can we get the job to run in the new environment instead?
Release : 12.0
Component : CA Workload Automation AE (AutoSys)
Here are 2 solutions to choose from.
Solution 1: Dedicated User for AutoSys related command execution
Create a separate user account on your Linux machine whose sole purpose is to process AutoSys related jobs. You will need to source the autosys environment in this users .profile on the server. You'll also need to ensure that the account has the proper access rights to be able to execute the commands.
Solution 2: Update Job definition to source the proper autosys environment
You'll need to add the profile: job attribute to the job definition. For example, you'll add the following line to your job definition: profile: /apps/autosys/r1136/autouser.PR1/autosys.<shell>.lnapp022.hphc.org
These are the only options that you have to make this work.