Intermittently we are receiving a S0C4 abend in module UCFBAT at location '3D60' in the batch job (DSEXBCMD/CADSBCMD) that gets submitted to shutdown the Dispatch started task. How can we avoid the S0C4 abend?
This is caused by a timing problem which will likely not happen very often.
It occurs because the main region of DISPATCH shuts down quicker than the batch job can react to it. The shutdown of DISPATCH is fine and the batch job is abending at the very end of its run. Typically, no action is required.
However, if the situation occurs frequently enough, it can usually be resolved by raising the priority or service class of the batch job (CADSBCMD) that is issuing the STOPCADS command.