search cancel

The spool output of a job on CA Workload Automation System Agent is truncated after <n> characters.


Article ID: 20595


Updated On:


CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)



When a user executed a command or script by logging directly into the server the output was not truncated; however, if the same command or script was executed by CA Workload Automation System Agent, the output was cut off after certain number of characters, e.g. 80.


The COLUMNS environment variable was sent with the job or was activated in the system's profile.

Get all the variables - turn the joblog for each job at the agent on by setting following parameter in the agentparm.txt file:


Run the command or script that has the output issue again via the agent. In the agent spool directory, navigate to the job directory and open the associated joblog file; look for a similar entry:

CAWA_I_20007 Environment variable: COLUMNS=80

If the COLUMNS variable is shown, then some profile (unless a job's definition) was exporting it which resulted in a truncated output (e.g., on the 80th character).

Unset this variable or, if it is not possible, export it with a higher value in the job or in a script.


Release: ATSAGE99000-11.3-Workload Automation AE-Remote Agent