Recently while running a custom made Application Engine process we faced the following error:
"A pending process was found for the current Operator id, Run Control id, and Application Engine Program. This process either is running now or has abended. Please restart the pending process if it has abended, and allow it to run to completion, before submitting a new process request."
To resolve the issue run the following query:
delete from ps_aeruncontrol where oprid like 'OPRID_RUNNING_THAT_PROCESS'
Warning: This query might mess up the data of processes that are already running so please proceed with caution.