How to prevent an Agent job from writing to the Spool file

book

Article ID: 207031

calendar_today

Updated On:

Products

CA Workload Automation ESP Edition CA Workload Automation Agent

Issue/Introduction

How to prevent a job from writing to the Spool file?

 

Environment

Release : 11.4

Component : CA ESP WORKLOAD AUTOMATION

Resolution

This sample job redirects the STDOUT to /dev/null (trash). The output will not be available anywhere on the server.  


UNIX_JOB TESTJOBA
RUN ANY
AGENT unixtest 
SCRIPTNAME /opt/scripts/testscripts/sleep.sh
ENVAR STDOUT=/dev/null
USER espadmin
ARGS 10 0
EXITCODE 5 FAILURE
ENDJOB