When retrieving a job's spool file using either 'autosyslog -J <job_name> -t S' or in WebUI QuickView, the spool file is getting truncated.
WAAE 12.1
Check the agentparm.txt file on the agent machine where the job runs and look for the communication parameters pertaining to the scheduler. They will look like this...
communication.manageraddress_1=scheduler_hostname
communication.managerhealthmon_1=true
communication.managerid_1=ABC_SCH
communication.managerport_1=7507
communication.protocolrev_1=4
communication.socket_1=plain
If the 'communication.protocolrev_n' parameter is either not set or is set to 2 or lower, AFM messages have a max size that will not accommodate the size of some job spool files. If your AutoSys server is 12.0.x, set the parameter to 3. If your AutoSys server is 12.1.x, you can set the parameter to 4. Both of these values will allow for an AFM message size that will be able to accommodate larger spool files.
NOTE: These communication parameters are set automatically when an AutoSys instance makes its first connection to the agent.