I have a job in CA Workload Automation DE that goes into SUBERROR with a status of invalid AFM. I have found the following on a CA website:
Within the cause section: "During a job run, the AFM will be modified to include environment settings defined in an environment file. Improper settings in the environment file will cause the AFM to become invalid".
Within the resolution section: "Environment files as used by the the System Agent are meant to contain <variable> <setting> pairs. These are not shell scripts. Including anything in these files other than <variable> <setting> pairs will cause the AFM to be invalid".
"This refers to the oscomponent.environment.variable* settings in the agentparm.txt file".
"There may be other causes of this error"
The agentparm.txt file on the server that the job runs on hasn't been modified in over 3 months and on top of that, other jobs running on this server are working fine. Any thoughts on where else I can look at to fix this invalid AFM?