I have a test IWS program set up which is wrapped in a monitor block. All it is doing is dividing by zero, and then in the on-error it is doing a dump. But no dump is being created.

Before the dump I am writing out a record with SQL using 'job_name' and looking for the dump in there. I am calling the IWS program with a SOAP UI post. I know the program is running correctly since the record is getting created and the job log shows the number/zero error.

However, if I call my IWS program from within a normal RPG program (that I'm calling via cmd line) the dump DOES get created...


Any ideas?