We have upgraded autosys 11.3.6 from 4.5, but there have been wrong working some jobs which are made shell and pro*c.
For example.. . Some temp file could not created to right directory. It seems can't recognized some $var).
I think the reason is env files. (.profile, auto.profile etc).
But env files are working well in 4.5 right before.
Is it some different procedure working job via autosys between 4,5 and 11.3.6 ?
That is, some jobs could not working in 11.3.6 agent with some errors.
Is there some considerstions after agent upgrade 11.3.6 from 4.5 when same jobs run via autosys ?
Job types are variable ( simple shell, call some shell in shell, pro*c, call some files in pro*c.)
This jobs have been working in autosys 4.5 and now several jobs could't working with some error. (can't recognized some variable in enf files, I think)
There are some differences between the 4.5 agent and the 11.3 agent.
The PWD (present working directory) can be set as required using the variable oscomponent.initialworkingdirectory. Please refer to the following documentation.
You can also refer to the following documentation which helps to configure the agent to behave like legacy 4.5 agent.
Just to add some information
11.3 agents DO NOT behave like previous releases.
The current working directory is under the agent directory, . the job owner's home directory, and the job execution environment is setup in a different order. These differences in behavior can cause jobs to run differently than they may have previously.
Example of the current working directory:
A command job running "pwd" will output the following:
4.5 = /home/job_owner11.0 = /home/job_owner11.3 = /opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT
Example of the order in which 11.3 sets up the job execution environment:
global_profile > user_profile > job_profile > auto.profile
To get same behaviour as 4.5
After the agent install completes, stop the agent.Go to "/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT"
This is causing the issues I found this with Scott Fowler last year:
If a job is not respecting variables in the profile listed in the profile attribute check on these settings in system agent