When attempting to display the spool file for a job using the 'autosyslog' command or in WCC QuickView, the following error is reported...
Error:E139011 Agent error response:[File is not available]
Release : 12.0
Component : CA Workload Automation AE (AutoSys)
By default, the agent is configured to immediately delete spool files for jobs that complete successfully.
You can change the agent configuration to where it will keep the successful spool files. They would instead get purged after 7 days by default.
The parameter in the agentparm.txt file to modify is...
agent.spool.success.autocleanup=true
Set the value of this parameter to 'false' and restart the agent. Keep in mind that this impacts every job that runs on the agent. There is no job-level setting for this. This will increase the files retained in the spool directory drastically. Make sure you have plenty of file system space available where the agent is installed to handle this. Each spool file is quite small, but if there are a lot of jobs on the agent, they can add up over the 7 day retention period.
That 7 day retention can be lowered if necessary. The parameter that controls that is...
runnerplugin.spool.expire=7d