Completion Code 159

Document ID : KB000046839
Last Modified Date : 14/02/2018
Show Technical Document Details

PROBLEM:

 

In monitor perspective, the job appears to fail with "Completion Code 159". But the spool file shows :

"CAWA_I_20018 Job failed. Exit code 2, Status:"

 

How to get rid of this incorrect "Completion Code 159" ?

 

 

ENVIRONMENT:

 

System Agent version 11.3.X

 

 

SOLUTION:

 

 

The problem is related to the following setting that you have in your agentparm.txt file : 

 

oscomponent.noexitcode=99999 

 

This is causing the 159 exit codes to be created. 

Change it to the following : 

 

oscomponent.noexitcode=256