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.

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

book

Article ID: 20595

calendar_today

Updated On:

Products

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)

Issue/Introduction

Description:

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.

Solution:

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:

oscomponent.joblog=true

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.

Environment

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