This article explains why an RTS198 runtime error is produced when a batch job finishes.
Problem:
On the GOBACK statement in the COBOL of a JCL batch job a RTS 198 error is generated. What causes this?
Resolution:
This was caused by running a batch COBOL program but compiling that module for CICS using the CICSECM() directive. Removing the CICSECM() directive will resolve the problem.