In most cases, the RMOSTC39 (U0039) error and abend are caused by a bad dataset being passed to CA Deliver by JES.
Generally, a final call was not made to clean up and free all storage that was allocated during the capture and archival of the report.
To address the condition, please do the following:
. Determine what sysout is causing the problem and either put the sysout on hold or purge it from the spool.
. Specify REGION=256M in the RMOSTC task.
. Issue "/S RMOSTC,PARM=OFF" to start the task and take out the hooks.
. Issue "/S RMOSTC" to start the task, after the task has come down from the above.