Thankfully we are on V5R4, so I will look at STRWCH.
On Wed, 2 Sep 2015, Buck Calabro wrote:
A possible alternative is to MONMSG (ie trap the error), in the DO()
send the email and then re-throw the exception.
I thought about this but couldn't come up with a satisfactory way to do it.
Many programs are called during the execution of the daily close and I'd
want execution to stop at the original point of execution of the error.